Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Your program should handle invalid entries for the salespersons initials. Once a valid salespersons initial has been entered, the program should continue prompting the user
Your program should handle invalid entries for the salespersons initials.
Once a valid salespersons initial has been entered, the program should continue prompting the user for a valid number of sales - (no negative values or values exceeding the limit of 5 sales entries per salesperson at a time).
Output should be in a report format labeled, aligned, and formatted to 2 decimal places.
Break; statements may only be implemented in switch statements; not iniforloopingstatements, Nocontinue; statements.
Make sure you are using the correct data types and descriptive variable names.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started