Java Basic Exercises with solution
Display your name, your age and your city name
How to convert from Fahrenheit to Celsius and from Celsius to Fahrenheit temperature
How to calculate the area of rectangle
How to calculate the area of triangle
How to calculate the diameter, circumference and area of circle
How to check whether a number is even or odd
How to calculate the hypotenuse of a right triangle
How to swap two numbers with and without a temp variable
How to check a leap year
Factorial of a number
Java factorial using recursion
How to check prime numbers
How to get current date and time
Rectangle made of asterisks
Pyramid pattern
No comments :
Post a Comment