Editor

Highest Score From Input

Rearrange the lines · Intermediate · about 6 min

This program reads how many scores there are, then each score on its own line, and prints the highest. 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

The program reads these lines, one at each input():

4
56
89
72
64

In the right order, it prints:

Scores read: 4
Highest score: 89

Your program

0 of 7 placed

Add the first line from the blocks.

Blocks

7 blocks still to place
The solution opens after your first Check.