For Loop Assignment
Question 1:- wap to print character present in given string
string= “ak it solution”
Question 2:- wap to print letters of a word.
Question 3:- wap to print ASCII code for entered message.
Question 4:- wap to print number from 0 to 10.
Question 5:- wap to print your name 5 times using for loop.
Question 6:- wap to print number between 10 to 50.
Question 7:- wap to print odd numbers between 1 to 30.
Question 8:- wap to print number from 10 to 1.
Question 9:- wap to print numbers 1 to 10 using for loop.
Question 10:- Print the first 10 natural numbers using for loop.
Question 11:- wap to Calculate the sum of all numbers from 1 to a given number.
Question 12:- Calculate the cube of all numbers from 1 to a given number.
Question 13:- wap to print print Even Numbers in given range.
Question 14:- wap to print sum of even number series up to 10.
Question 15:- wap to print sum of even in given range.
Question 16:- wap to print odd Numbers in given range.
Question 17:- wap to print sum of odd numbers in given range.
Question 18:- wap to generate multiplication table of the entered number.
Question 19:- wap to check whether the entered number is prime or not.
Question 20:- wap to print all the prime numbers within a given range.
Question 21:- wap to print Armstrong number within a given range.