can someone write this script with unix

The script should be named final_YourLastname (e.g., a script written by York should be named: final_York). The script should implement car rental reservation activities.

The main menu of the script must prompt users to:
1.Make a Car Reservation
2.Exit System.

When users choose to make a reservation for a car, the script must prompt them to enter the name of a customer and the number of days a customer wishes to rent a car. The script must also prompt customers to enter the size of the car based on the following choices:
S or s  Small size
M or m  Medium size
F or f  Full size

Choosing a small size car will cost customers $15 per day, medium size is $21 per day, and full size is $25 per day.

The total cost of renting a car should be calculated as: (number of days * cost per day).

Print the following details to the screen after your calculations: current date, customer’s name, number of days, cost per day, and the total cost of renting a car.

After each reservation, implement a loop to allow users to make another reservation until they choose to exit the system.

  1. 👍 0
  2. 👎 0
  3. 👁 71
asked by chris

Respond to this Question

First Name

Your Response

Similar Questions

  1. English

    am doing a parody project for Romeo and Juliet only ACT 5. I need to write a script for burger king or any ideas you have. I need help starting off the script. Thank You

    asked by zax on February 14, 2012
  2. calc 3

    The length script l, width w, and height h of a box change with time. At a certain instant the dimensions are script l = 7 m and w = h = 5 m, and script l and w are increasing at a rate of 6 m/s while h is decreasing at a rate of

    asked by Becky on September 21, 2012
  3. human resource managment

    4. Script for orienting new employees o You may use the following opening sentence to start your script: “We, in HR, feel that it is important to address some sensitive issues during your early employment with our company.” o

    asked by scooby on November 7, 2009
  4. English

    I only have one question on this script that I need help on. This script is different and is called NO SMOKING by jacinto benavente. It is pretty good. I actually found a link to this script and here it is: I can't actually post

    asked by Sara on March 18, 2010
  5. computers

    I need some help with creating a simple, but automatic site status (uptime/downtime) monitor script in ColdFusion. Basically I would like the script to check if an application on my site is accessible or not every 60 minutes. If

    asked by Mike on March 26, 2012
  6. English expression

    In English alphabet, there are print type and Italic script. And each has capital letters and small letters. A. Looking at the capital alphabet in Italic script carefully, trace each alphabet. There are two four lines in A, and

    asked by John on March 8, 2008
  7. linux networking

    What are two ways you can execute a shell script when you do not have execute permission for the file containing the script? Can you execute a shell script if you do not have read permission for the file containing the script?

    asked by Angelina on October 8, 2015
  8. English

    I have to write a movie/tv script satirizing/parodying gender stereotypes as they are seen in western media today. It has to have one female and male gender stereotype but the twist is we must satirize the gender stereotypes in

    asked by Nikki on January 10, 2008
  9. Government

    I don't have a question but I need informaton on how to get started on a project. The assignment is to research, write, and create one amendment/segment of a documentary on Amendment #6. It says to research people, main events and

    asked by Barb on October 29, 2006
  10. English

    Before I start posting questions, I'd like to ask, has anyone read the script -Joker in the Pack. It is a short play about Mitch--the main character. Even if you have not read this script is it okay if I still post the questions

    asked by Sara on March 17, 2010

More Similar Questions