Alexa Metrics

Coding Adventure 4: Plan for smooth landing

What if Robo goes to the moon?

You will learn about math operations, calculations and count loops on your way to the moon

免費加入

描述

Here, Robo will have to prepare for a smooth landing and make sure he applies what he learned at the space academy.

預覽視頻

任務

Print the maximum temperature on the screen

 We need to read the temperature values on both the blue and red cells. Print out the maximum value between them.

Print the count

Collect all the objects and count them. The gloves are on the red cells and the helmets are on the blue cells. At the end, print the counts of both objects on the screen.

Empty and full tanks

Count the full oxygen tanks (colored blue), and the empty oxygen tanks (colored red). Rotate right once you reach the first red cell. Stop on the yellow cell and print the counts!

There's still room in your toolbox

Your toolbox can hold 10 tools. Collect all the tools until you reach the red cell which has the last tool. Then, print on the screen how many objects your toolbox can still hold. 

Plan ahead

Robo is going on a spacewalk and needs 20 hours of oxygen. Collect all the oxygen bottles. Knowing that each one contains 6 hours of oxygen, print how many extra hours of oxygen you have.

What if Robo goes to the moon?

You will learn about math operations, calculations and count loops on your way to the moon

免費加入
Canada Flag 隱私政策使 使用條款
Got an invite