Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. project $50 reward need in 24 hours

project $50 reward need in 24 hours

Scheduled Pinned Locked Moved Managed C++/CLI
c++salestutorial
2 Posts 2 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 13513032
    wrote on last edited by
    #1

    Project 1
    Write a C++ program for a restaurant ordering system. Your program should display the items
    sold at the restaurant and their prices, It should allow the customer specify how many items off
    the menu to be ordered, with a maximum of 3 items off the menu. The customer can
    order as many of each item as possible. Your program should get the order from the customer,
    calculate the final total, including tax (take tax as 6% of the total), and then print a receipt to an
    output file called "receipt.txt". The receipt should contain, the list of items ordered, the amount
    of each item, the price of the item, the tax for the order, and the final total. On this project, only use
    concepts covered in this class up until this project was assigned. For example
    Ballack's Restaurant

    3 Yogurt(s) $15.00
    4 sandwich(es) $40.00
    1 soda $5.00
    tax $3.60

    Total $63.60
    You can approach this project in your own unique way, and include as many functions as you desire, but your project should contain at least the following;
    4 functions
    A Display Menu function that has a welcome line and displays at least 5 menu items and their prices
    A function that handles one item off the menu
    A function that handles two items off the menu
    A function that handles three items off the menu
    Make use of Files (mainly the output file)
    Use conditional statements.
    Format your output using cout functions or special commands (like /n, /t, /b, ......)

    P 1 Reply Last reply
    0
    • U User 13513032

      Project 1
      Write a C++ program for a restaurant ordering system. Your program should display the items
      sold at the restaurant and their prices, It should allow the customer specify how many items off
      the menu to be ordered, with a maximum of 3 items off the menu. The customer can
      order as many of each item as possible. Your program should get the order from the customer,
      calculate the final total, including tax (take tax as 6% of the total), and then print a receipt to an
      output file called "receipt.txt". The receipt should contain, the list of items ordered, the amount
      of each item, the price of the item, the tax for the order, and the final total. On this project, only use
      concepts covered in this class up until this project was assigned. For example
      Ballack's Restaurant

      3 Yogurt(s) $15.00
      4 sandwich(es) $40.00
      1 soda $5.00
      tax $3.60

      Total $63.60
      You can approach this project in your own unique way, and include as many functions as you desire, but your project should contain at least the following;
      4 functions
      A Display Menu function that has a welcome line and displays at least 5 menu items and their prices
      A function that handles one item off the menu
      A function that handles two items off the menu
      A function that handles three items off the menu
      Make use of Files (mainly the output file)
      Use conditional statements.
      Format your output using cout functions or special commands (like /n, /t, /b, ......)

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Rather than wasting the time of busy professionals, why not give this a try yourself? You might actually learn something (even if that something is that you only know how to start the program off and not how to finish it, showing you where you need to study more). This site is CodeProject, not RentACoder.

      This space for rent

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups