Skip to content

This repository contains Java programs demonstrating the use of loops (for, while, and do-while). Includes practice exercises and a mini project

Notifications You must be signed in to change notification settings

Shaiza-Noor/Module3-Java-Programs-Loops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Java Module 3 – Loops

Description

This repository contains Java programs demonstrating the use of loops (for, while, and do-while) from Module 3. It includes practice exercises and a mini project (Number Guessing Game) to help beginners understand loops, user input, and basic programming logic.

Program Included

  1. MultiplicationTable.java
    • Prompts the user to enter a number.
    • Displays the multiplication table from 1 to 10 using a for loop.

Concepts Covered

  • for loop
  • User input using Scanner

How to Run

Open the folder in VS Code or any Java IDE. Compile the program you want to run: javac MultiplicationTable.java Run the program: java MultiplicationTable

About

This repository contains Java programs demonstrating the use of loops (for, while, and do-while). Includes practice exercises and a mini project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages