Exercise on Iteration:
1. Write a program to display the numbers. 0, 7, 26, 63........ n terms.
2. Write a program to display the numbers 0, 3, 8, 15 ........ n terms.
3. Write a program to display the numbers 1, 4, 9, 16 ........ n terms.
4. Write a program to count the number of digits.
5. Write a program to check a number is palindrome or not.
6. Write a program to display the palindrome numbers from 10 to 100.
7. Write a program to display the sum of even digits.
2. Write a program to display the numbers 0, 3, 8, 15 ........ n terms.
3. Write a program to display the numbers 1, 4, 9, 16 ........ n terms.
4. Write a program to count the number of digits.
5. Write a program to check a number is palindrome or not.
6. Write a program to display the palindrome numbers from 10 to 100.
7. Write a program to display the sum of even digits.
Comments
Post a Comment
If you have any doubt, Please let me know..