This document contains a list of 15 basic Java programs including programs to read input from the user, perform arithmetic operations like multiplication and finding largest of 3 numbers, check conditions like even/odd, leap year, prime numbers, and calculate values like factorial, Fibonacci series, simple interest and compound interest.
This document contains a list of 15 basic Java programs including programs to read input from the user, perform arithmetic operations like multiplication and finding largest of 3 numbers, check conditions like even/odd, leap year, prime numbers, and calculate values like factorial, Fibonacci series, simple interest and compound interest.
This document contains a list of 15 basic Java programs including programs to read input from the user, perform arithmetic operations like multiplication and finding largest of 3 numbers, check conditions like even/odd, leap year, prime numbers, and calculate values like factorial, Fibonacci series, simple interest and compound interest.
1. Java Program to Read The Number From Standard Input
2. Java Program to Get Input from the User 3. Java Program to Multiply Two Floating-Point Numbers 4. Java Program to Swap Two Numbers 5. Java Program to Check Even or Odd Integers 6. Java Program to Find Largest Among 3 Numbers 7. Java Program to Display All Prime Numbers from 1 to N 8. Java Program to Check Leap Year 9. Java Program to Check Armstrong Number between Two Integers 10. Java Program to Check whether the input number is a Neon Number 11. Java Program to Check whether input character is vowel or consonant 12. Java Program to Find Factorial of a number 13. Java Program to Find Even Sum of Fibonacci Series Till number N 14. Java Program to Calculate Simple Interest 15. Java Program to Calculate Compound Interest