Cinema Bill
Rearrange the lines · Beginner · about 3 min
Three friends go to the cinema. This program works out the cost of their tickets and the whole bill with snacks, in rupees. Its lines are mixed up: put them back in an order that prints exactly the output below. Each line keeps its indentation, so you only choose the order.
Example
In the right order, the program prints:
Tickets: 750 Snacks: 180 Total: 930
Your program
0 of 8 placedAdd the first line from the blocks.
Blocks
8 blocks still to place
The solution opens after your first Check.