hello_world.java - Program to print hello world
Hello World
add_two_numbers.java - Program to add two numbers.
Enter two numbers to add :
5 6
Sum is 11
odd_or_even.java - Program to check whether a given number is odd or even
Enter a number :
60
60 is Even
prime.java - Program to check whether a given number is prime or not
Enter a number :
7
It is Prime
sum_natural_numbers.java - Program to find sum of first n natural numbers
Enter the nth natural number :
10
Sum of first 10 natural numbers is 55
factors.java - Program to find factor of a given number
Enter the number :
15
Factors of 15 are
1
3
5
15
fibon.java - Program to print finonacci series upto n
Enter the number of fibonacci numbers needed :
5
The fibonacci series is
0
1
1
2
3
5
8
factorial.java - Program to find factorial of a given number
Enter the number to find the factorial :
6
Factorial is 720
armstrong.java - Program to check given number is Armstrong or not
Enter a number :
153
Armstrong
pallindrome.java - Program to check whether given number is palindrome or not
Enter a number :
5665
Pallindrome