1)print even sum from 1 to 20
2)print odd sum from 1 to 20
3)check the number whether it is armstrong or not
4)check the number whether it is palindrome or not
5)swap two number with third variable
6)print prime numbers from 1 to 20
7)write a program for reverse the string value
8)check the string value whether it is palindrome or not
9)arrange the array values in ascending order
10)arrange the array values in descending order
11)find maximum number in array
12)find minimum number in array
13)remove duplicates from array
14)print number of words in string
15)print vowels and consonant count in string
16)count of all caps,small,numbers,special characters in string and also print that
characters
17)print start pattern below
*
**
***
****
*****
18)print number pattern below
1
12
123
1234
12345
19)print the pattern below
1
1 1
1 1 1
1 1 1 1
20)print the pattern below
*
* *
* * *
* * * *
* * * * *
21)print sum of first 10 natural numbers
22)find the largest number among 3 numbers
23)check the number whether it is negative or postive or zero
24)find the power of a number ex, 2^3=8
25)print even and odd numbers from an array
26)program to add two matrices
27)print ascii value in java
28)print the elements of an array in reverse order
29)print the elements of an array present on even position
30)print duplicates in array