first-Java-Assignment/
βββ .idea/ # Project-specific settings (IDE related)
βββ src/ # Source code directory
β βββ AmericanFlagNested.java
β βββ AmericanFlagSingle.java
β βββ Array_2.java
β βββ Array_UserInput.java
β βββ NigerianFlagNested.java
β βββ NigerianFlagSingle.java
β βββ StandardDeviation.java
β βββ Statistics_Median.java
β βββ Statistics_mean.java
βββ .gitignore # Git ignore file
βββ Java Assignment.iml # IntelliJ project file
βββ README.md # Project documentation
- AmericanFlagNested.java & AmericanFlagSingle.java - Programs to generate the American flag using nested loops and a single loop.
- Array_2.java & Array_UserInput.java - Programs handling arrays, including user input operations.
- NigerianFlagNested.java & NigerianFlagSingle.java - Programs to generate the Nigerian flag using different loop structures.
- StandardDeviation.java - Computes the standard deviation of a dataset.
- Statistics_Median.java - Calculates the median of a dataset.
- Statistics_mean.java - Computes the mean of a dataset.
- Clone the repository:
git clone https://github.com/Jaiye-codes/first-Java-Assignment.git
- Open the project in an IDE (such as IntelliJ IDEA or Eclipse).
- Compile and run the Java files from the
srcdirectory.javac src/YourFile.java java src.YourFile
Feel free to fork the repository and submit pull requests with improvements or additional features.
This project is for educational purposes and does not have a specific license.
Developed by Jaiye-codes π