Question: C# PROG 110 Midterm Practice Exam PROG 110 Midterm Practice Exam Example Output *** PROBLEM 1 *** Problemi Aspon for Consolidated Amalgamated Unlimited sells products

 C# PROG 110 Midterm Practice Exam PROG 110 Midterm Practice Exam
C#

PROG 110 Midterm Practice Exam PROG 110 Midterm Practice Exam Example Output *** PROBLEM 1 *** Problemi Aspon for Consolidated Amalgamated Unlimited sells products Consolidated Amalgamated Unlimited makes everything from microscopiche nuts to alrcraft carriers.) In this application, a salesperson enters the dollar amount of each transaction. When all transactions have been entered, the salesperson enters the value 999 to signal that she is done with data entry Enter a decimal number or -999 to quit: 14.39 Enter a decimal number or .999" to quit: 254.36 Enter a decimal number or -999 to quit 254.36 Enter a decimal number or -999 to quit 75.aa Enter a decimal number or .-999 to quitt .13 Enter a decimal number or .999" to quit -999 At that point, the program determines the amount of commission the salesperson will receive the commission rate varies depending on the value of sales. Finally, the program displays: The sum of all the transaction values subtotall. The commission rate for that value The total commission med, and The salesperson's total earning the sum plus the commission) Your sales total is $598.24, so your commission rate is 10.00 Your total comission is $59.82. Your total earnings are $658.06. Note: if the subtotal stero, the commission rate commissioneamed and total earnings must Bequirements Use the appropriate looping construct for a posttest loop Use the sentinel value to all the loop. Use TryParse() to converteach input string to a decimal number of type double.. e urate and efficiente ched to determine commission rate based on the sum of tartons Use one and only one WriteLine) to produce your caput (Hint outside of the range check decin structure, perhaps? Mols were dollar amounts are printed using currency formatting Miles that commission rate is displayed as a percent Remember not to date the sentinel value in the totall You do not need to build constants to hold the various are boundary value Common Rate ON Subtotal O and be 50.01 $499.99 $500.00 $1000 and Over 1ON 15% Your tout dould look like the samples on the next page. The yellow highlights indicate user input Page 2 Page 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!