Skip to content

nurulashraf/java-calculations-and-equations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Calculations and Equations

This repository contains two Java programs designed to solve distinct problems: calculating six marks and solving equations. These solutions are part of a university assignment focused on applying fundamental programming concepts.


Repository Content

  1. Source Codes

    • src/CalculateSixMarks.java
      Java program implementing the solution for calculating six marks.
    • src/SolveEquations.java
      Java program implementing the solution for solving equations.
  2. Assignment Report

    • Report.pdf
      A detailed report outlining the problem statement, solution design, and results.
  3. Assignment Instructions

    • Instructions.pdf
      Provides the instructions and requirements for the Java programs.

Features of the Programs

  • Input Handling
    Accepts user input through the console.

  • Mathematical Computation
    Implements algorithms to solve mathematical problems or perform specific calculations.

  • Output Display
    Outputs the results clearly to the console.


Prerequisites

Before running the programs, ensure you have the following:

  • Java Development Kit (JDK)
    Version 8 or later.

  • Java IDE
    Any IDE like IntelliJ IDEA, Eclipse, or Visual Studio Code for executing the programs.


How To Use

  1. Clone the Repository

    git clone https://github.com/nurulashraf/programming-assignment-java.git  
    
  2. Open the Project
    Import the project into your preferred Java IDE.

  3. Compile and Run
    Compile the program and run either CalculateSixMarks.java or SolveEquations..java. Follow the instructions displayed in the console.


Documentation

The assignment report includes:

  • Code Objective
  • Code Structure Overview
  • Test cases and expected results
  • Screenshots of the program output

Refer to Report.pdf for detailed documentation.


Contribution

This project is a learning exercise and not open for direct contributions. However, feedback and suggestions are welcome.


License

This repository is for educational purposes and is licensed under the MIT License.