img
Question:
Published on: 3 December, 2024

Write a C program to convert Centigrade temp into Farenhite temp.

Answer:

 

#include<stdio.h>
#include<conio.h>
main()
{
	float a,b;
	printf("\n Enter any C temp");
	scanf("%f",&a);
	b=((9.0*a)/5.0)+32.0;
	printf("\n The F temp=%f",b);
	getch();
}

 

Output:

Random questions