「OnTech.bloG」

On touch Tech Solutions

C Program to Convert temperature from degree centigrade to Fahrenheit

Armanjr · December 19, 2017 | C/C++ program
Program to convert temperature from degree centigrade to Fahrenheit


compile this code by using any c compiler like

★code blocks

★ turbo c++

etc
[php]#include


int main() {
float celsius, fahrenheit;


printf("\nEnter temp in Celsius : ");
scanf("%f", &celsius);


fahrenheit = (1.8 * celsius) + 32;
printf("\nTemperature in Fahrenheit : %f ", fahrenheit);


return (0);
}
[/php]

and see you result 😊

Tags:
No comment yet, be the first.