You are on page 1of 1

Strong number(sum of factorial of an number)

Armstrong number(Sum of power of an individual digits)


Perfect number(sum of divisors of the number )
Assignment(29/01/2020)
1.wajp to display the multiplication table for user entered number
2.WAJP TO PRINT SANJU IF NUMBER IS DIVISIBLE BY 3,
PRINT "GEETA" IF NUMBER IS
DIVISIBLE BY 5,PRINT " SANJU WEDS GEETA"IF NUMBERE IS D
IVISIBLE BY BOTH 3 AND 5 OTHERWISE PRINT THAT NUMBER.
(BETWEEN 1 TO N)
3.WAJP TO CLACULATE THE PRODUCT OF DIGITS.
4.WAJP TO PRINT THE AVERAGE OF DIGITS.
5.WAJP TO COUNT HOW MANY EVEN DIGITS
AND ODD DIGITS PRESENT IN A NUMBER...
Questions(30/01/2020)
1.wajp to define a method to print the area
and circumference of a circle by using method!
2.wajp to define a method to return how many digits present
in the passednumber
Assignment questions........
1.ajp to define a method to return a sum of digits
2.define a metho dto return true if the number is
prime otherwise return false
3.define a method to display the area and
permimeter of a rectangle
4.define a method to return sum of first n natural numbers
5.define a method to return true if the number is palindrome otherwise
return false.
............
/...........
............
..........
...........
............
questions(31-01-2020)
1.wajp to define a method to return n^p.
2.wajp to check user enterd number is armstrong nuber or not.
3.wajp to define a method to check the number is deserium number
or not.
4.wajp to define a method to check a user enetrd number is strong number or
not.
Assignment
5.wajp to define a method to print the how many
prime numbers within n.
6.wajp define a method to return nth fibonacci number.
7.wajp to print all 3 digits palindrome numbers.
8.wajp to print how many armstrong number number within 1000.
9.wajp to print how many deserium numbers within 1000.
10.wajp to convert from decimal to binary.octal.hexadecimal
...............
...........
........
......
....
questions(pattern)(3-2-2020)
1.

You might also like