Logical Programing Questions Using Loops
1.Find the Factorial of a given Number?
2.Write a program check Whether Given Number is Even or Odd?
3.Print the numbers from 10 to 1?
4.Input any 10 numbers find out no of even numbers and no of odd numbers?
5.Input any 10 numbers find out no of positive numbers and no of negative numbers?
6.Input any 10 numbers find the first biggest number and second biggest number?
7.Input any 10 find number of prime numbers?
8.Input any 4 digit number and reverse it?
9.Input any 4 digit number and find out the sum of the digits?
10.Input any 4 digit number and find out the sum of first and last digit?
11..Input any 4 digit number and find out the difference of first and last digit?
12..Input any 4 digit number and find out the sum of the middle digits?
13.print the multiplication table for any given number?
Loops |
1.Find the Factorial of a given Number?
2.Write a program check Whether Given Number is Even or Odd?
3.Print the numbers from 10 to 1?
4.Input any 10 numbers find out no of even numbers and no of odd numbers?
5.Input any 10 numbers find out no of positive numbers and no of negative numbers?
6.Input any 10 numbers find the first biggest number and second biggest number?
7.Input any 10 find number of prime numbers?
8.Input any 4 digit number and reverse it?
9.Input any 4 digit number and find out the sum of the digits?
10.Input any 4 digit number and find out the sum of first and last digit?
11..Input any 4 digit number and find out the difference of first and last digit?
12..Input any 4 digit number and find out the sum of the middle digits?
13.print the multiplication table for any given number?
0 comments:
Post a Comment