Smart Technology - Codemao
Floor 4 - Computer Room
Outline
Outline
1
Question 1 - Counting
2
Question 2 - Sum
Codemao Platform
Change language
Change to English
Basic operations & Code Block
Events:
Motion:
Control:
Looks:
Pen:
Question 1 - Counting
Counting
1.
Create a variable
2.
Increasing the number from 1 to 20
3.
Let the cat say the number in each iteration of looping
Question 2 - Sum
1 + 2 + 3 + 4 + 5 + 6
......
98 + 99 + 100 = ?
Question 2 - Sum
Count & Sum
1.
Create a variable num and sum
2.
Increasing the number from 1 to 100
3.
Sum the num iterate from 1 to 100
1 + 2 + 3 + 4 + 5 + 6
......
98 + 99 + 100 = ?