Kursinnehåll
C++ Introduction
C++ Introduction
2. Introduction to Operators
4. Introduction to Program Flow
5. Introduction to Functions
Practicing With Loops
Uppgift
Swipe to start coding
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.
Lösning
solution
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 6
Practicing With Loops
Uppgift
Swipe to start coding
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.
Lösning
solution
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 6