Pulsars
0 %
Log inSign up

Fix the Algorithm

Open answer

Here is a poorly ordered algorithm for calculating the double of a number: 1) DISPLAY resultat 2) READ n 3) resultat <- n * 2. Rewrite it in the correct order and explain why this order is necessary.