C Program Tutorial Class-31

in Steem AHP2 days ago

Image cover

Dear friends, today I am here with you with another post. In today's post, I have taken the Fahrenheit temperature, converted it to a syndicate, run it with you, and then showed you the results. I hope you can understand it very easily. I have given the codes below this article. You can copy them from here and search online.

#include <stdio.h>
int main() {
float fahrenheit, celsius;
printf("Enter temperature in Fahrenheit: ");
scanf("%f", &fahrenheit);
celsius = (fahrenheit - 32) * 5/9;
printf("In Celsius: %.2f\n", celsius);
return 0;
}

IPFS Video

Posted with Speem

Sort:  

Hi,

You have received special support because you (or someone on your behalf) sent SBD to @null to promote your post.
You can now promote your posts on Speak on Steem to increase their visibility and potential rewards.

Learn more here:

1000029760.jpg

Curated by @kibreay001

Coin Marketplace

STEEM 0.06
TRX 0.32
JST 0.062
BTC 67087.19
ETH 2049.38
USDT 1.00
SBD 0.49