Java Example

Convert rupees to dollar
Write a program to convert rupees to dollar. 60 rupees=1 dollar.
Calculate the division obtained by the student
The marks obtained by a student in 5 different subjects are input through the keyboard. The student gets a division as per the following rules:
         a. Percentage above or equals to 60-first division
         b. Percentage between 50 to 59-second division
         c. Percentage between 40 and 49-Third division
         d. Percentage less than 40-fail
         Write a program to calculate the division obtained by the student.

Find given string is palindrome or not
Write a program to find that given number or string is palindrome or not.
Write a program to find maximum no from given 3 no.
Prime number
Write a program find out given number is prime or not.