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

CodeTextPro.com Provides - Web design, Technology gyan, Digital marketing, Online earnings, Seo, Adsense, Technology news, Motivation and inspiration, Latest Technology Affairs, Gadgets, Blogging

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