-
Make a method to get user input to find factorial using while loop.
-
Write a java programme to print all number which ends with 6 upto 100.
-
Write a java programme to print and count all the no. upto 100 which is divisible by 9.
-
Write a java programme count all the number upto 100 which are divisible by 7 or ends with 7.
-
write and count all the no upto 1000 which are divisible by 7 and also ends with 7.
-
Take a user input and print all the factors of the no(no itsef no include).
-
To print and count all the factor of a number.
-
Take a user input and print whether it is prime no or not.
-
Write a java programme to find sum of below series----
a) Sum of 100 natural numbers 1+2+3+......+100
b) Sum of squares of 100 natural numbers 1^2+2^2+3^2+.....100^2
c) Sum of cubes of 100 natural numbers 1^3+2^3+3^3+4^3+....100^3
d) 12 + 23 + 34 + ....... +99100
e) 12^2 + 23^2 + 34^2 + ....... +99100^2
f) 1^22 + 2^23 + 3^24 + ....... +99^2100
g) 1/1 + 1/2 +1/3 +........ +1/100
h) 1/1^2 + 1/2^2 +1/3^2 +........ +1/100^2
i) 1/1^3 + 1/2^3 +1/3^3 +........ +1/100^3
j) 1/12 + 1/23 +1/34 +........ +1/99100
k) 1/12^2 + 1/23^2 +1/34^2 +........ +1/99100^2
-
Write a java programme whether the no is a perfect or not.
-
Write a java programme to print factorial of a number.
-
Write a java programme power of a^b.