Grades for Four Students
Rearrange the lines · Beginner · about 4 min
This program gives a letter grade to four students' marks, one after another. Its lines are mixed up: put them back in an order that prints exactly the output below. Each block keeps its indentation, so you only choose the order.
Example
In the right order, the program prints:
95 gets A 80 gets B 65 gets C 30 gets D
Your program
0 of 6 placedAdd the first line from the blocks.
Blocks
6 blocks still to place
The solution opens after your first Check.