Write a c program to calculate centigrade temperature to fahrenheit - CodeTextPro | Free Web Tutorial

Codetextpro Provides free Web tutorial, HTML, CSS, C, C++, Java, JavaScript, PHP, MySql, Python, Program, Programming Notes, Programming Questions and more.

Programming

Friday, January 4, 2019

Write a c program to calculate centigrade temperature to fahrenheit

calculate centigrade temperature to fahrenheit

#include<stdio.h>
#include<conio.h>
main()
{
float c,f=0;
printf("enter the centigrade value");
scanf("%f",&c);
f=(9*c+160)/5;
printf("calculuted value=%f",f);
getch();
}

No comments:

Post a Comment