4B - Cycle 8 Day 5
4C - Cycle 8 Day 4
4D - Cycle 8 Day 5
The practical test is on Loops. (Both For and While)
To help you practice, solve the following problems:
- Calculate and output the largest of ten numbers entered. After solving as a for loop, convert to a while loop terminated by the letter Z.
- John and Jacob are running or Student Council President. Determine and output the winner after all 640 students have voted.
- Entrance fees to Altun Ha are $10.00 for Belizeans and $20.00 for non-Belizeans. Calculate and output the total revenue earned from a group of people entering Altun Ha. Determine and output the number of Belizeans who are in the group.
No comments:
Post a Comment