Whats the solution to #1 and #2? Please use declare, write, input, end kind of syntaxs
moutle To u0 1ot ispiay have Welcome to write pseudocode for the other three modules. Message 38. Add pseudocode for the Input Data, Calculate Average, and Output Results modules to the pseudocode created in Review Exercise 37. 39. Construct a flowchart for this program (viewing it as a single module). 40. Give three examples of reasonable input data for testing this program. Programming Challenges Euch of the following Programming Cballenges can be solved by a program that performs basic tasks-Input Data, Process Data, and Output Results. For each problem, use docode to design a suitable progrum to solve it. Be sure to identify the data type of each l. Prompt for and input a saleswoman's sales for the month (in dollars) and her Note that you will need to convert the percentage to a decimal. You will salesAmount CommissionRate CommissionEarned variable used. commission rate (as a percentage). Output her commission for that month. need the following variables: You will need the following formula: CommissionEarned SalesAmount (CommissionRate/100) 2. The manager of the Super Supermarket would like to be able to compute the unit price for products sold there. To do this, the program should input the name and price of an item per pound and its weight in pounds and ounces. Then it should determine and display the unit price (the price per ounce) of that item and the total cost of the amount purchased. You wi need the following variables: Pounds Ounces ItemName PoundPrice TotalPrice UnitPrice You will need the following formulas: UnitPrice = PoundPrice/16 Total Price = PoundPrice * (Pounds + Ounces/16) 3. The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the employee's net pay. The input for this program is an employee ID number hourly rate of pay, and number of regular and overtime hours worked. ross nay is thr sum of the wages earned from regular hours and overtime Nlat nay is gross pay