Skip to content

MiclAnglz/JavaProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Special notes:

  • This program runs completely from the Eclipse console. To start the program follow the next 2 steps.

    1. You will first be presented with a welcome menu. Enter "1" to start the program. (see picture below)
    image
    1. You will then be prompted to enter a "bookings file" to be processed. Choose a .txt files in the projects folder and enter the file name. (example below)
    image image
  • When making a booking you will notice that the program prompts you to enter a least 1 service code. This was part of the project brief. However, this can be canceled before exiting the program (see additional features below).

image

  • The surname for a customer can be found in the customer.txt file after the customer_ID

    • column order for the customer.txt- customerID, surname, firstname, mobile, adddress, suburb, postcode
  • A more detailed description of the project tasks can be found in the "ProjectBrief" folder.

Java Project

(My First Major Coding Project)

Programming Techniques Major Project - Java

Spring Semester Programming Techniques

Task: Create a system application for a ficticious air conditioning business. The project requirements were to design an object orientated Java program to assist the business in keeping records of repair, service and installation.

Upon execution, the program is designed to populate arrays with data from three primary files: a customer file, a booking file, and a service file. The program also effectively manages files containing null values and diverse data types (integer, float, double) to prevent program crashes resulting from improper processing.

Subsequently, the program empowers users to interact with the arrayed data, presenting it in a meaningful manner through the following functionalities:

  • Enabling users to visualize customer bookings.
  • Facilitating user-initiated modifications to customer bookings and fee assignments.
  • Offering insights into customers' service histories, encompassing service prices, dates, customer IDs, and names.
  • Providing a mechanism for users to apply discounts as per customer requests.

The discount mechanism operates as follows:

  1. User inputs a value.
  2. If the value exceeds 10% of the service cost, the total service cost remains unaffected.
  3. If the value is 10% or less, the program accepts, updates, and securely stores the information in the booking text file.

Additional capabilities of the program include:

  • Displaying comprehensive details of a service, including its ID, price, and description.
  • Enabling users to search for customer information using either surnames or mobile numbers.
  • Addressing the presence of multiple customers with the same name in the customer text file, displaying distinguishing information for clarity.
  • Empowering users to securely save or discard modifications made to the text file.

In essence, the program seamlessly handles data ingestion, user interaction, and data persistence while maintaining reliability and user-friendly functionality.

Additional Features:

  • Before exiting the program, the program will only give the option to save the information if changes were made to the file. If changes were not made the program will terminate without displaying the save feature.

Changes made: image

No changes made: image

About

Programming Techniques Major Project - Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages