Skip to content

ryrysmiley/cars

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Indentifying Information

  1. Name: Ryley Jue
  2. Student ID: 23668899
  3. Email: [email protected]
  4. Class: cpsc298
  5. Assignment: cars

Application Purpose

This repo will contain a bash script named “cars.sh” that will help a user maintain an inventory of old cars.

The user will be presented with a menu of three options:

  1. type the number 1 to enter a new car
  2. type the number 2 to display the list of cars
  3. type the number 3 to quit and exit the program
     

If the user chooses to enter a car they will be prompted separately for the:

  • Year
  • Make
  • Model

These values will be combined into a single string with the values separated by colons (:) and appended to the My_old_cars file
 

If the user chooses to list the cars

The program will display the lines of the My_old_cars file, sorted by year

If the user chooses to Quit

The program will display a “Goodbye” message and exit.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%