Page 84 - CloudGPT_C8_Flipbook
P. 84
E. Answer the following questions:
1. What do you understand by the term increment loop?
..............................................................................................................................................................
..............................................................................................................................................................
2. Explain while loop.
..............................................................................................................................................................
..............................................................................................................................................................
3. Write any two benefits of loop.
..............................................................................................................................................................
..............................................................................................................................................................
Experiential Learning
Applied Project
To create a program in which user enter a number. If the number entered is an even number,
then the message displayed as: 'Even Number', and if the number entered is an odd number,
then the message will display as 'Number is odd..! Try again'.
Concept: Number is even if it gets divided by 2, otherwise the number is odd.
To perform the task, follow these steps:
Step 1: Visit the link: https://arcade.makecode.com/, Create a new project and name it 'Even/
odd'.
82 Premium Edition-VIII

