Workshop 01
Workshop 01
Workshop 1
Objectives:
In this workshop, you will:
o The number of students who passed and failed (passing score is >= 5).
3. The program must validate the input to ensure that scores are within the range of
0 to 10.
2. for:
3. while:
o To handle repetitive actions, such as input validation for the number of
students and their scores.
Specific Requirements:
1. Requirement 1: Input Data
2. Requirement 2: Calculation
o Use for to calculate the total score and count the number of students who
passed or failed.
3. Requirement 3: Statistics
o Display:
4. Requirement 4: Validation
o Ensure that the input is an integer and scores are in the valid range (0–10).