Kurssisisältö
C++ Introduction
C++ Introduction
2. Introduction to Operators
4. Introduction to Program Flow
5. Introduction to Functions
Practicing With Loops
Tehtävä
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.
Ratkaisu
solution
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 4. Luku 6
Practicing With Loops
Tehtävä
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.
Ratkaisu
solution
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 4. Luku 6