Question: Code the flowchart shown in Figure 5-33. Rate1 and rate2 are 2% and 1.5%, respectively. If necessary, create a new project named TryThis8 Project, and

Code the flowchart shown in Figure 5-33. Rate1 and rate2 are 2% and 1.5%, respectively. If necessary, create a new project named TryThis8 Project, and save it in the Cpp8\Chap05 folder. Enter the C++ instructions into a source file named TryThis8.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Display the bonus in fixed-point notation with two decimal places. Test the program using 20500.95 as the sales amount. The answer should be $410.02. Now test it using 9675.50.

Figure 5-33

start enter sales F sales at least 15000.0 bonus = sales * rate2 bonus = sales ratel display bonus stop

start enter sales F sales at least 15000.0 bonus = sales * rate2 bonus = sales ratel display bonus stop

Step by Step Solution

3.49 Rating (156 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 TryThis8cpp displays a bonus 2 Createdrevised by on 3 4 include 5 include 6 using namespac... View full answer

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 An Introduction Programming Questions!