Liban Practical 4
Liban Practical 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
celcius,fahrenheit
Step 3: celsius =
(Fahrenheit-32)/1.8
Step 4: print celsius
Step5 : stop
Fahrenheit to Celsius
Step 1: start
Step 2: input
Fahrenheit,celcius
7
Computer Science Practical: X
Step 3: fahrenheit =
celcius*1.8 - 32
Step 4: print fahrenheit
Step5 : stop
Program Coding
}
Program Output