A local department store hires you to write

Assignment Help Basic Computer Science
Reference no: EM13166953

A local department store hires you to write an automated checkout program to expedite customers in a hurry. The checkout line can only accept five items for any one purchase. Design a program that asks for the price of each item, and then displays the subtotal of the sale, the amount of the sales tax and the total. The sales tax is 6 percent.

  • Submit your C++ source code that you generated from RAPTOR with comments added to each line or where necessary to explain program flow. Also submit the RAPTOR file (flowchart) of your working program.
  • Make sure you run it to make sure it is error free and does what it is supposed to.

You can use the generate dropdown to create example C++ code based on your working logical flow chart to see what the code would look like.

Remember to follow the guidelines of good program design. Make sure to use meaningful variable names and include comments as needed.

Reference no: EM13166953

Questions Cloud

Make an instance of romannumerals : Make an instance of RomanNumerals and invoke the method toRoman(int n). Enter a number in the Arabic notation and it will convert it to a Roman numeral. For example 17 will be converted to XVII.You will notice a test suite that we provide with the..
Calculate display the area of a rectangle (length * width) : Use the input.txt file. Have it read in the number of records to work on. Then for each record read in a character. If it is a C then read in a value and calculate and display the area of a circle (pi*r 2 ), a R then read in two values and calculate ..
Your program will read the array : Your program will read the array from the file, check the diagonal and print a report containing the size and the status of the diagonal. A typical report would look like: The matrix is 3x3 and all the numbers on the main diagonal are the same.
Create a data flow diagram : Create a data flow diagram for Online library management system. It should include search, hold, add items, issue, recall, and add user. It should support books, dvds, and cds. The flows should include each data element, the levels must be balance..
A local department store hires you to write : A local department store hires you to write an automated checkout program to expedite customers in a hurry. The checkout line can only accept five items for any one purchase. Design a program that asks for the price of each item, and then displays..
The conversion must be done in a function : The conversion must be done in a function. The function will accept the pressure in bars and return both atmospheres and psi. Your script should continue to prompt the user to see if they wish to another calculation.
Approximately normally distributed : Write a program MakeFile.cpp that creates a file random.dat that contains 200 random numbers where each number is the sum of 12 random values rand( )%9. When we add a sufficient number of uniformly distributed numbers the result is approximately n..
Write a function to circulate a list : Write a function to circulate a list. The function takes two paramaters, the first defines how many elements of the list to circulate, and the second is the list. The output should be the circulated list.
How is this applied to changing the coding? : when writing a linear cipher using n = 27, if a = ?, b = ? and c = 7, if ac = 1(mod27) how is this applied to changing the coding?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  The ieee 754 single precision binary representation

What would be the IEEE 754 single precision binary representation of the floating point value -314159265. 3589 ? Express your final answer as an 8-hex-digit number and explain how your answer was obtained for full credit.

  Creating project organization in enterprise business

Organization structures generally used to create a project organization in an enterprise business environment.

  Determining minimum size of control bus

Determine the minimum size of the control bus?

  Explaining gui differences and security differences

With that being said, its great that each of you pointed out the GUI differences. What about the Security differences?

  Computing new computer cost at the end of year

Assume that 5 years from now you would like to trade in the computer and purchase a new one. You expect at 5 % increase in price each year. What would the new computer cost at the end of year 5?

  Calculate access time when there is cache miss

Calculate the access time when there is cache miss? Suppose that cache waits until line has been fetched from main memory and then re-executes for a hit.

  How can you quickly investigate and collect digital evidence

Prepaid cell phones make forensic investigation much hard. Discuss how can you quickly investigate and collect digital evidence for a crime what involves a phone call.

  Your manager has decided that the throughput

Your manager has decided that the throughput of your file server can be improved by replacing your old SCSI-2 host adapter with a "fast and wide" SCSI-3 adapter. It has also been decided that the old SCSI-2 drives will be replaced with "fast and w..

  Explain how to structure worksheet including titles

Explain how you will structure the worksheet, including the titles, column headings, and formulas to calculate the time it takes to make each size of cage.

  Business environment impacted development telecommunication

Describe in scholarly detail how business environment has influenced development of telecommunications technology.

  Find the minimum mips instruction to perform

1)    Find the minimum MIPS instruction to perform the following C statements. Use any registers for variables. Assume that the base register for array Y is in $s0.

  Find the probability both windows are idle

The post office uses a multiple channel queue, where customers wait in a single line for the first available window.  the probability both windows are idle.

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