Course Content
C++ Introduction
C++ Introduction
2. Introduction to Operators
4. Introduction to Program Flow
5. Introduction to Functions
Practicing With Loops
Task
Swipe to show code editor
In a banking system, every customer receives reward points based on their position in the queue. The reward starts at 100 points and increases by 50 points for every subsequent customer. Write a program to calculate and output the reward for the 15th customer using a loop structure.
Solution
solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 4. Chapter 6
Practicing With Loops
Task
Swipe to show code editor
In a banking system, every customer receives reward points based on their position in the queue. The reward starts at 100 points and increases by 50 points for every subsequent customer. Write a program to calculate and output the reward for the 15th customer using a loop structure.
Solution
solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 4. Chapter 6
Switch to desktop for real-world practiceContinue from where you are using one of the options below