Important Notice:

Course Content
Conditional Statements/Selection Statement
0/3
Conditional and Iterative Statements Lab Assignment
About Lesson

while loop Assignment


Question 1:- wap to print hello world for 4 times.


Question 2:- wap to print 1 to 10 number using while loop.


Question 3:- wap to print even numbers between 2 to 20.


Question 4:- wap to print odd numbers between 1 to 20.


Question 5:- wap to print number from 50 to 1.


Question 6:- wap to print numbers 1 to 10 on the same line.


Question 7:- wap to print table of any number.


Question 8:- wap to print even number between 1 to 100.


Question 9:- wap to print all even numbers between m to n.


Question 10:- wap to print total (count) even numbers between m to n.


Question 11:- wap to calculate the sum of numbers between 1 to 30.


Question 12:- wap to calculate addition of number between starting to ending.


Question 13:- wap to calculate addition of even numbers between starting to ending.


Question 14:- wap to print sum of odd numbers between 1 to 50.


Question 15:- wap to print all odd numbers between m to n.


Question 16:- wap to count odd numbers between m to n.


Question 17:- wap to display gross pay of three employee using while loop.


Question 18:- wap to calculate factorial of a given number.


Question 19:- wap to calculate factorial of a given range.


Question 20:- wap to find sum of all even and odd numbers up to specified number.


Question 21:- wap to print first N natural numbers.


Question 22:- wap to sum of first N natural numbers.


Question 23:- wap to print first N natural number is reverse order.


Question 24:- wap to check whether a given number is the prime or not.


Question 25:- program to find prime numbers in given Interval


Question 26:- wap to print first 100 prime numbers using while loop.


Question 27:- wap to check Armstrong number.


Question 28:- wap to enter any number and print the reverse order of that number.


Question 29:- wap to check palindrome number.


Question 30:- wap to print Fibonacci series



Question 34:- wap to find the sum of odd and even numbers between 1 and 100.


Question 35:- wap to print sum of square from 1 to n.


Question 36:- wap to print sum of cube from 1 to n.


Question 37:- wap to find sum of first n even numbers.


Question 38:- wap to find sum of digits of a given number.


Question 39:- wap to find sum of square of digits of a given number.


Question 40:- wap to find sum of cube of digits of a given number.


Question 41:- wap to find product of digits of a given number.


Question 42:- wap to print first n even number.


Question 43:- wap to print first n odd number.


Question 44:- wap to count all entered number.


Question 45:- wap to check whether a given number is the Perfect or not.


Question 46:- wap to use calculator.


 

error: Content is protected !!