Page 76 - Modular_V2.0_C++_Flikpbook
P. 76
In the lab 21 st Century #Creativity
Skills
#Critical Thinking
Write a program to:
Print the numbers 100, 98, 96, . . . , 4, 2.
Print the cubes of first 10 natural numbers.
Find the sum of even numbers between 1 and 100.
Display the following series:
4, 16, 36, 64, 100, …. , 400
Display the Fibonacci series.
e.g., 0, 1, 1, 2, 3, 5, 8.........
Calculate the factorial of numbers from 1 to 10.
Print the following pattern:
A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
Teacher's Corner
1. Discuss looping statements with the students.
2. Explain the use of jump statements to the students.
74
Touchpad MODULAR (Ver. 2.0)

