In this scenario, an assessment consists of five questions to determine if a learner can successfully:
- Objective 1: Identify the four major food groups
- Objective 2: Identify two sources of fat
The project requirements identify that if the learner answers questions one through three correctly, then Objective 1 has been met and considered passed. If the leaner answers questions four and five correctly, then Objective 2 has been met and considered passed. Any incorrect responses would determine the mapped objective failed.
Complete the code below to set the success status for Objective 1 and Objective 2.
Note: Assume that Objective 1 is stored in array location 0 and Objective 2 is stored in array location 1.