Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i cant figure out this receipt display problem for my c++ assignment Use the figure below to create a display that would represent the receipt

i cant figure out this receipt display problem for my c++ assignment
image text in transcribed
Use the figure below to create a display that would represent the receipt shown. Note the following: 1. Be sure that you are storing dollar amounts in variables, you must use the values shown in the image below. 2. The tax rate is 9.48%. 3. The information that is found at the top of the receipt can be printed directly to the output. 4. The order number should be tandomly created. 5. The date should be saved to a string variable. 6. You should ask the user for the table number and the server name to know what needs to be populated there. 7. The items on the receive that are ordered may should be assigned to string variables. 8. The prices should be assigned to variables; the prices will NOT change. 9. The total of the two items, the sales tax and the grand total should all be calculated. 10. The dollar amounts for the tip guide at the bottom of the receipt should be calculated and not hard coded. 11. AL. calculations should be based on variables that hold values, no values should be hard coded into equations. 12. The message at the bottom of the receipt can be printed directly to the sereen. 13. Your display needs to use ourput formatting to achieve the alignment displayed on the reccipt. Ying Thai Kitchen 2220 Queen Anne AVE N Te1. (206) 285-8424 Fax. (206) 285-8427 The main concept here is output Ww.y.y1ngthafk t chen.con formatting. Be sure you use the Welcone to Ying Thai Kitchen Restaurant. appropriate statements. 15x=$1.89,18x=$2.27,20x=$2.52T1pquide Thank you very much. Come back again Use the figure below to create a display that would represent the receipt shown. Note the following: 1. Be sure that you are storing dollar amounts in variables, you must use the values shown in the image below. 2. The tax rate is 9.48%. 3. The information that is found at the top of the receipt can be printed directly to the output. 4. The order number should be tandomly created. 5. The date should be saved to a string variable. 6. You should ask the user for the table number and the server name to know what needs to be populated there. 7. The items on the receive that are ordered may should be assigned to string variables. 8. The prices should be assigned to variables; the prices will NOT change. 9. The total of the two items, the sales tax and the grand total should all be calculated. 10. The dollar amounts for the tip guide at the bottom of the receipt should be calculated and not hard coded. 11. AL. calculations should be based on variables that hold values, no values should be hard coded into equations. 12. The message at the bottom of the receipt can be printed directly to the sereen. 13. Your display needs to use ourput formatting to achieve the alignment displayed on the reccipt. Ying Thai Kitchen 2220 Queen Anne AVE N Te1. (206) 285-8424 Fax. (206) 285-8427 The main concept here is output Ww.y.y1ngthafk t chen.con formatting. Be sure you use the Welcone to Ying Thai Kitchen Restaurant. appropriate statements. 15x=$1.89,18x=$2.27,20x=$2.52T1pquide Thank you very much. Come back again

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions