Navigation: Main Index | Chapter Guide
This folder contains Java 8 practice programs for learning decision-making and looping statements.
Step 1: Make sure JDK 8 or a compatible JDK is installed.
Step 2: Open the terminal in this folder.
Step 3: Compile and run a program.
javac 01-EvenOdd.java
java EvenOdd- Even or Odd
- Largest of Three Numbers
- Leap Year
- Multiplication Table
- Factorial
- Prime Number
- Fibonacci Series
- Palindrome Number
- Armstrong Number
- Reverse Number
- Sum of Digits
- Greatest Common Divisor
- Square Pattern
- Triangle Pattern
- Pyramid Pattern
- Number Pattern
- Floyd's Triangle
- Calculator
- Student Grading
- Electricity Bill
- ATM Menu
Use these programs to practice if, switch, for, while, do-while, break, and continue.