Create a solution in scratch which accepts a mark from the user and outputs whether or not the mark is a pass or a fail. Assume the pass mark is 50.
Modify your solution above to keep on prompting the user indefinitely and keep track of the number of marks entered.
In the above scenario, we add:
- a forever block to achieve indefinite/infinite repetition
- a variable to keep track of the number of marks, numMarks
- the join operator to output results
© 2022 Vedesh Kungebeharry. All rights reserved.