Wednesday, September 15, 2010

Solve these programs.

Q1. WAP to display all even numbers up to 100.
Q2. WAP to count all digits in a given number.
Q3, WAP to display sum of EVEN factors upto 27.
Q4. WAP to display following pattern.
          5
          45
          345
          2345
          12345
Q5. 12345
       1234
       123
       12
       1
Q6. Read about OOPS in JAVA.
Q7. WAP to display all prime numbers till 30.

No comments: