A C Based On The Following Flowchart In Figure 2 Write A C Program Segment Using The While Loop Begin Counter 1 1 (5.45 KiB) Viewed 29 times
A C Based On The Following Flowchart In Figure 2 Write A C Program Segment Using The While Loop Begin Counter 1 2 (32 KiB) Viewed 29 times
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)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!