Results 1 to 2 of 2

Thread: Please any can help on writing the script

  1. #1
    Join Date
    Sep 2013
    Beans
    18

    Please any can help on writing the script

    Hi everyone

    Please anyone can help to show me how to write script with the following instruction,

    The flat cost of the shirt is $15.00. if a customer orders a black shirt, the cost is reduced by $1.50 if a customer orders a large size, then the cost is increased by $2.00. if a customer orders a hood, the cost is increased by $6.00 and if the customer orders long sleeves the cost is increased by $2.50

    Write a script that will accept the following as customer details:
    - Customer name
    - Customer address
    - Customer phone contact
    - Order date
    Delivery Date
    -Number of shirts ordered

    Then the program should display a menu Script that will give the customer additional selection to add to the order of the shirts. The choices should be as follows:
    - Choice 1: Black Shirt
    - Choice 2: Large size only
    - Choice 3: Shirt with hood
    - Choice 4: Long sleeve Shirt
    - Choice 5: All of the above
    - Choice 6 None of htee above
    (Note: a customer can make only one choice and no more)

    Thanks

    Rahul

  2. #2
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,040
    Distro
    Ubuntu Development Release

    Re: Please any can help on writing the script

    See this https://help.ubuntu.com/community/Be.../BashScripting

    And this
    While we are happy to serve as a resource for hints and for asking questions when you get stuck and need a little help, the Ubuntu Forums is not a homework service. Please do not post your homework assignments expecting someone else to do it for you. Any such threads will either be jailed or closed, and warnings or infractions may be issued.
    From here http://ubuntuforums.org/showthread.php?t=2158945

    Please feel free to come back if you get stuck writing your script.

    Thread closed

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •