Skip to content

RaphaelPCarmo/java-matrix-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔢 Java Matrix Exercise — Fundamentals of 2D Arrays and Logic

A Java console application developed to strengthen core Java fundamentals, focusing on 2D arrays (matrices), control flow, and clean input handling.

🛠️ Technologies

Java

📌 Overview

•This project demonstrates practical usage of:

•Java syntax and core language features

•2D array (matrix) manipulation

•Nested loops (for)

•User input processing with Scanner

•Console-based output formatting

✨ Key Features

•Dynamic matrix creation based on user input

•Population of a 2D array at runtime

•Iteration and visualization of matrix elements

•Clear separation of logic and execution flow

•Readable and maintainable code structure

▶️ Sample Execution

Enter number of rows: 3
Enter number of columns: 3
Matrix values:
1 2 3
4 5 6
7 8 9

🚀 Getting Started

• Clone the repository:

git clone https://github.com/RaphaelPCarmo/java-matrix-exercise.git

• Open the project in IntelliJ IDEA, Eclipse, or VS Code

• Run the main class

⚙️ Requirements

-Java JDK 11+

-Basic understanding of Java syntax

🎯 Learning Objectives

This project reinforces:

✔️ Core Java fundamentals ✔️ Data structures (2D arrays) ✔️ Logical problem-solving ✔️ Clean and structured coding practices

📌 Project Status

✔️ Completed — open for future enhancements such as validations and matrix operations

📝 License

For educational and professional portfolio purposes.

👤 Author


Raphael Perim do Carmo

About

Java project developed to practice programming logic, use of two-dimensional arrays, loops, and data input with Scanner. The program reads a square matrix, prints the main diagonal, and counts the number of negative numbers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages