Problem 1 Write a program to convert miles to kilometers. (Recall that 1 mi = 1.6093440 km.)
Problem 2 Write a program to convert pounds to kilograms. (Recall that 1 kg = 2.205 lb.)
Problem 3 Write a program to compute the area of A of a circle with radius r.
True/False Problems
Indicate whether the following statements are true(T) or false(F).
1. A CPU consists of an ALU, memory, and a processor.
2. An algorithm describes the problem solution step by step, while a computer program solves the problem in one step.
3. A computer program is the implementation of an algorithm.
4. The execution of a C++ program begins with the main (also called _tmain) function.
5. C++ is not case sensitive.
6. Declaration and other statements must end with a semicolon.
7. The result of an integer division is a rounded result.
Programming Problems
Write a program to compute the volume V of a cylinder of radius r and height h. (Recall that ). Use the PI as declared in Programs chapter 2_4, or chapter 2_5.
Set the output values in fixed format