Write a program which will accept the valid denomination

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

Assignment

ZAD supermarket has 4 cash counters; currently there is no electronic system to calculate the change to be returned. The cashiers find it very difficult to return the precise change when the payment is done. This reduces the productivity and efficiency of sales, and also customers have to wait for longer duration for the payment.

Your task is to write a C++ program which will accept the valid denominations and suggest the exact change to be returned to the customer. A sample screenshot is given to you to understand the requirement; however your program should work of any given valid inputs.

Example:
Bill amount is RO 76.455 (Input - Refer the screenshot)
Customer paid R050.000 x 1, R020x2 (Multiple Inputs - Refer the screenshot)
Amount Paid By Customer: R090.000 (Output - Refer the screenshot)
Return Amount: RO -13.545 (Output - Refer the screenshot)
Return Denomination: (Multiple Outputs - Refer the screenshot)
R010.000 (1)
R01.000 (3)
BZ 500 (1)
BZ25 (1) BZ10 (2) Valid Denominations: R050, RO 20, R010, R05, R01, BZ500, BZ100, BZ50, BZ25, BZ10, BZ5
Refer to the screenshot for better understanding.

Marking Scheme:
- Input and output Design as per the screenshot
- Input data as per the screenshot
- Calculation of amount paid by customer
- Calculation of Amount to be returned
- Logic and Correctness of output

Attachment:- input.rar

Verified Expert

Above program is created to help supermarket for billing process. Programs takes input as the total amount which is to be paid by customer and in which denomination notes. Having these information this program first prints the total amount customer has given and what is the return amount. Now in last we print the denomination in which supermarket has to return to the customer.

Reference no: EM131901155

Questions Cloud

Find a house for sale : If you invested $1,500 twelve years ago at 6.5% interest compounded monthly, how much money do you have available to help with the down payment?
Compare the integrated marketing strategies : For this assessment, return to the REI case study. Choose a product category offered by REI and research the REI product line for this product.
Describes sensitivity analysis : what amount of income from these investments should Red Crown report? Which of the following correctly describes sensitivity analysis?
Cash investment in net working capital be most likely : In which of the following cases will a cash investment in net working capital be most likely?
Write a program which will accept the valid denomination : ITSE101 — Programming write a C++ program which will accept the valid denominations and suggest the exact change to be returned to the customer
Find the coordinates of the point : The function ?f(x)=7lnx+3/x has a relative extreme point for x >0. Find the coordinates of the point. Is it a relative maximum? point?
What is the pretax required return on gordon stock : If the aftertax expected returns on the two stocks are equal (because they are in the same risk class), what is the pretax required return on Gordon’s stock?
When does the ball reach its maximum height : Where is the height of the ball after seconds have passed. Based on this information, answer the following questions.
Discuss at least two of the issues raised by given narrative : Identify and discuss at least two of the issues raised by the above narrative. You will then engage your classmates in the discussion that follows.

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