prac 4
prac 4
SLO No 9.2.2
SLOs Mapped 8.3.2, 9.1.1,9.1.2,9.1.3,9.1.5,9.2.2,9.2.3,9.2.4
Practical Activity To convert Celsius to Fahrenheit temperature and vice versa
Equipment Computer
Software Dev C++
Practical No 4
Topic 9: Fundamental of input and output data handling in C
Objective:
Students will be able to
use the arithmetic operators and input output data handling in C language to solve the given
arithmetic problem.
Algorithm Flowchart
Step 1: Start
Step 2: Input C
Step 3: F=C*1.8-32
Step 4: Print F
Step 5: Stop
Fahrenheit to Celsius
7
Computer Science Practical: X
F=C*1.8-32 C=(F-32)/1.8
Print F Print F
Stop Stop
Program Coding
8
Computer Science Practical: X