Question

Can you help me solve this? Do it on C pls Ask the user to input...

Can you help me solve this? Do it on C pls

Ask the user to input a temperature in Fahrenheit using printf.

Scan this value and convert the temperature to Celsius using a formula.

Output the result in Celsius using printf.

Ex: "The temperature in Celsius is x degrees."

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Coding

#include<stdio.h>//important header file for input and output
int main()
{
   float temp_f,temp_c;//declare variable here
   printf("Please Enter The value in Fahrenheit ");//input message
   scanf("%f",&temp_f);//user input here
   temp_c=(temp_f-32)*5/9;//formula of convertion of farenhit to Celsius
   printf("The temperature in Celsius is x degrees %f",temp_c);//output display Here

}

output:

if you still have any Problem regarding this question please comment and if you like my code please appreciate me by thumbs up thank you.........

Add a comment
Know the answer?
Add Answer to:
Can you help me solve this? Do it on C pls Ask the user to input...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT