C/C++ Programming Problem
C/C++ Programming Problem
1. Write a program analysis, a flow chart and a program that will accept a height and a width.
Determine and display the area and perimeter of a rectangle. Used the formula Area =
height*width and Perimeter = 2*(height+width).
2. Write a program analysis, a flow chart and a program that converts the input degrees
Fahrenheit into its degrees Celsius equivalent using the formula degreesC = 5*(degreesF-32)/9.
Display the convert value.
3. Write a program analysis, a flow chart and a program that will accept a length, a width and a
height to determine the volume of a box. Display the volume. Used the formula volumeBox =
length*width*height.
4. Write a program analysis, a flow chart and a program that will ask the user to accept a value for
a and b for the linear equation ax+b=0. Determine and display the value for x in the linear
equation.
5. Write a program analysis, a flow chart and a program that will ask the user to accept the
number of hours work. Determine and display the income, the deduction and net income of the
employee. Used the formula income = numberHoursWork*750.00, deduction =
income*(10/100) and netIncome = incomededuction.
6. Write a program analysis, a flow chart and a program that will ask the user to accept the
number of pants and number of shirts he/she wants. Determine and display the total amount of
money to pay the pants and shirts purchase in a store. Used the formula totalAmount =
(numberPants*700.00) + (numberShirts*315.00)