Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 615 Bytes

File metadata and controls

24 lines (16 loc) · 615 Bytes

🔁 Java Control Statements

This folder demonstrates different control flow mechanisms in Java, including conditional statements and looping constructs.

🧠 Key Concepts

Conditional logic (if, else if, else)

Loops (for, nested loops)

Switch-case structure

📂 Programs

File Description
IfElseDemo.java Uses if–else for grade classification.
ForLoopDemo.java Demonstrates loops with sum and pattern generation.
SwitchCase.java Menu-based calculator using switch-case.

▶️ Run Commands

javac *.java
java IfElseDemo