HI...this is my first post and I hope to reach a 1000
can you help me to get answers?I am learning C from "Problem Solving and Program Design In C" book ( nice one)
1. Write a program to read an int type value of temperature in degree Celsius and convert it into Fahrenheit. Use the following formula:
F = (9/5 * C) + 32
2. Write a program to read a double type value of temperature in Fahrenheit and convert it into degree Celsius. Use the following formula: C = 5/9 (F – 32).
3. Write a program, to read two integer numbers and finds their sum, difference, product, quotient, and average.
4. Write a program that reads 5 characters from user one by one, and then displays them together (on the same line). The program output should look like as shown below:
Enter 1st character: B
Enter 2nd character: A
Enter 3rd character: S
Enter 4th character: I
Enter 5th character: M
You entered: BASIM