write C-prognom to Convert the temperature in Celsius to farherenheit using the relation F=32+9/5c
Answers
Answered by
0
Answer:
C program to convert Celsius to Fahrenheit:
#include <stdio.h>
int main()
{
printf("Enter temperature in Celsius: ");
scanf("%f", &celsius);
//celsius to fahrenheit conversion formula.
fahrenheit = (celsius * 9 / 5) + 32;
printf("%.2f Celsius = %.2f Fahrenheit", celsius, fahrenheit);
Similar questions