Question: 1. Creat a program that transforms the following formula into C++ code celsius = (5.0 / 9) * (fahrenheit - 32) Identify the variables and
1. Creat a program that transforms the following formula into C++ code
celsius = (5.0 / 9) * (fahrenheit - 32)
Identify the variables and types
Program Design
List the steps the program must perform
Create the detailed pseudocode with the actual variable names used in the program,
Transform your pseudocode to a C++ program
Program output
2. Crazy Al's Computer Emporium is a retail seller of home computers. The sales staff at Crazy Al's work strictly on commission. At the end of the month, each salesperson's commission is calculated according to the following Table:
Table
Crazy Al's Commission Rate Structure
Sales This Month Commission Rate
Less than $10,000 5%
$10,000-$14,999 10%
$15,000-$17,999 12%
$18,000-$21,999 14%
$22,000 or more 16%
For example, a salesperson with $16,000 in monthly sales will earn a 12% commission ($1,920.00). Another salesperson with $20,000 in monthly sales will earn a 14% commission ($2,800.00).
Because the staff only gets paid once per month, Crazy Al's allows each employee to take up to $1,500 per month in advance. When sales commissions are calculated, the amount of each employee's advanced pay is subtracted from the commission. If any salesperson's commissions are less than the amount of their advance, they must reimburse Crazy Al's for the difference.
Here are two examples: Beverly and John have $21,400 and $12,600 in sales, respectively. Beverly's commission is $2,996 and John's commission is $1,260. Both Beverly and John took $1,500 in advance pay. At the end of the month, Beverly gets a check for $1,496, but John must pay $240 back to Crazy Al's. Write a program that eases the task of calculating the end-of-month commission.
Identify the variables
Program Design
List the steps the program must perform
Create the detailed pseudocode with the actual variable names used in the program,
Transform your pseudocode to a C++ program
Program output
3. Tornado Wind Speedclassification is depicted in the following graph:
Create a program to classify the tornado based on the wind speed read from the keyboard. Rules for the classification are as follows:
If the wind speed is less than 73 mph the tornado is of F0 category. Else if the wind speed is less than 113 mph the tornado is of F1 category. Else if the wind speed is less than 157 mph the tornado is of F2 category. Else if the wind speed is less than 207 mph the tornado is of F3 category. Else if the wind speed is less than 261 mph the tornado is of F4 category. Else if the wind speed is less than 317 mph the tornado is of F5 category.
Identify the variables
Program Design
List the steps the program must perform
Create the detailed pseudocode with the actual variable names used in the program,
Transform your pseudocode to a C++ program
Program output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
