a C. Based on the following flowchart in Figure 2, write a C++ program segment using the while loop.
Begin counter = 1, max 13 counter cu max enter sales N sales > 7500 commission = 0.03 x sales commission=0.04 x sales totalSales = totalSales + sales totalcomm = totalcomm + commission counter- totalSales >5000 bonus = totalSales x0,02 N totalSales, totalcomm, bonus End Figure 2 (6 marks)
a C. Based on the following flowchart in Figure 2, write a C++ program segment using the while loop. Begin counter = 1
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
a C. Based on the following flowchart in Figure 2, write a C++ program segment using the while loop. Begin counter = 1
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!