Tutorial#26 - Programming Example-3 | Counter Control Loop | C++ Programming by Coding Hub

preview_player
Показать описание
While Loop | Counter-Controlled Loop
Students at a local middle school volunteered to sell fresh baked cookies to raise funds to increase the number of computers for the computer lab. Each student reported the number of boxes he/she sold. We will write a program that will output the total number of boxes of cookies sold, the total revenue generated by selling the cookies, and the average number of boxes sold by each student. The data provided is in the following form: studentName numOf BoxesSold.

--------------------------------------------------------------------------------------------------------

Earlier Tutorial Links are given bellow:

☛ Subscribe our channel for more videos.
Рекомендации по теме