Problem

(Program) a. A senior salesperson is paid $800 a week, and a junior salesperson, $500 a...

(Program) a. A senior salesperson is paid $800 a week, and a junior salesperson, $500 a week. Write a C++ program that accepts as input a salesperson’s status in the character variable status. If status equals s, the senior salesperson’s salary should be displayed; otherwise, the junior salesperson’s salary should be displayed.

b. How many runs should you make for the program written in Exercise 11a to verify that it’s operating correctly? What data should you input in each program run?

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 4.2