Code the flowchart shown in Figure 5-33. Rate1 and rate2 are 2% and 1.5%, respectively. If necessary,

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 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

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: