Develop a top-down design and to write a program

Assignment Help C/C++ Programming
Reference no: EM132683031

NIT3112 Advanced Web Development

Coffee Victoria POS

Objectives:

This assessment is designed to assess your understanding of variables, constants, types, operators, input/output, loops, if statements, classes, objects and functions.

Problem Description:
Coffee Victoria POS is a small-CBD Coffee Shop in NSW Australia. The population is bustling, so the Coffee Shop sells select products to maintain the rush time (breakfast and lunch). It sells five products only. Each product has a name and a price.

The programmer requires to demonstrate basic C# programming techniques, specifically using classes and objects. This assignment aims to develop a top-down design and to write a program to be used as a cash register by the Coffee Victoria POS.

Application Requirements : For our program simulation, a purchase transaction is sale and payment of a single product. For each sale, the program should prompt and get a numbered item corresponding to the product name and quantity of the product purchased. The total cost of the purchase should be calculated and displayed. Then the program should ask the amount of money paid by the customer. The calculated change will be displayed in dollars and cents as well as the currency denominations in banknotes and coins needed to make up the change in the most efficient way.

At the end of the day, the cashier enters "Done" to end the simulation. The program should then display the total amount of sales in each of the five categories and terminate. The five-product Menu is shown in table 1.

Analysis
The program will be launched from the main class "CoffeeVictoriaPOS". "Product" class is a good choice for a class with information about products for sale in the "CoffeeVictoriaPOS". The price can be set or updated by calling setPrice () method in the Product class. Also, we will construct a class "Change" to return the correct change and currency denominations for a particular sale, by calculating the smallest number of required $100, $50, $20, $10, $5 banknotes and $2, $1, 50c, 20c, 10c, 5c coins. Figure 1, illustrates the classes that need to be implemented.

Data Input
• Product name (follow the table one).
• Use Menu's item number to select the desired product.
• User must enter the quantity
• Amount of money received from the customer in cents

Output
• The total amount of purchase = quantity * product_price
• Change returned to customer = amount tendered - amount purchased)
• In addition to the amount of change, display the number of hundred-dollar, fifty-dollar, twenty-dollar, ten-dollar and five-dollar notes, two-dollar coins, one-dollar coins, fifty- cent, twenty-cent, ten-cent and five-cent coins.
• At the end of the day (menu item 6. Done entered) display the total dollars of sales for each of the five product categories and totals for the day.
Data Input
• Product name (follow the table one).
• Use Menu's item number to select the desired product.
• User must enter the quantity
• Amount of money received from the customer in cents

Output
• The total amount of purchase = quantity * product_price
• Change returned to customer = amount tendered - amount purchased)
• In addition to the amount of change, display the number of hundred-dollar, fifty-dollar, twenty-dollar, ten-dollar and five-dollar notes, two-dollar coins, one-dollar coins, fifty- cent, twenty-cent, ten-cent and five-cent coins.
• At the end of the day (menu item 6. Done entered) display the total dollars of sales for each of the five product categories and totals for the day.

Attachment:- Coffee Victoria POS Assignment.rar

Reference no: EM132683031

Questions Cloud

Compose a balance sheet for David Miller : Question - Based on the information below, compose a balance sheet for David Miller as of December 31, 2020 Bank Loan $6,000
What are the potential consequences for the business : How would the company's accounting be affected if reversing entries were not made for payroll? What are the potential consequences for the business?
K-dimensional trees or k-d trees organize : K-dimensional trees or k-d trees organize and represent spatial data. Every leaf node of the binary tree is a k-dimensional point
Create a holistic approach to managing any change : In the 1980's Tom Peters and Robert Waterman developed the McKinsey 7S framework (Dewey, 2020). This model identifies seven elements, which are strategy.
Develop a top-down design and to write a program : NIT3112 Advanced Web Development - Develop a top-down design and to write a program to be used as a cash register by the Coffee Victoria POS
Debugging process and testing process : Apply the debugging process and testing process to programs containing fundamental concepts such as decision statements, iteration, functions
Compose an income statement for Little Creatures Pet Shop : Question - Using the below information to compose an income statement for Little Creatures Pet Shop for the year ended December 31, 2020
Is there a theory that is relevant to your current workspace : Respond to the following: Is there a theory that is more relevant to your current workspace? ( theories of Lewin, Kotter, or McKinsey change management).
About opportunities in cybersecurity : Has anything you learned anything potentially made you think about opportunities in cybersecurity you may have not before?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd