subject

Write a program to simulate an online purchase by asking the user for input and displaying a receipt.
in the program heading, include your full name, the date, and a brief description of the program.
use clear, polite instructions to prompt the use for the following:
shopper's first and last name
today's date using mm/dd/ format
name of item
quantity and price of item
debit card account number and pin
additional information, such as color or size, as needed.
all input needs to be read in as a string and parsed to a numeric value as needed.
show only the first initial of the first name
an order number composed of characters from provided input, such as the last name and card number
the date in mm-dd- format
conceal the majority of the debit card number
expected output: your program's output should resemble the following screen shot. your specific results will vary depending on the choices you made and the input provided.


Write a program to simulate an online purchase by asking the user for input and displaying a receipt

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 20:30
1. for which of the following are you not required to signal beforehand? a. changing lanes b. speeding up c. stopping
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
These statements describe lists in presentation programs: a. bullets can be turned off and on. b. bullets cannot be turned off. c. bullet styles, colors, and sizes can be changed. d. lists don't have to use bullets or numbers. e. numbering styles, colors, and sizes can be changed. f. numbers can be turned off and on. g. numbers cannot be turned off. select all that apply
Answers: 2
question
Computers and Technology, 24.06.2019 17:30
List at least one thing to check for when you're checking the clarity and professionalism of a document.
Answers: 1
question
Computers and Technology, 24.06.2019 21:00
When replacing a thermostat or water pump, coolant drained from the cooling system should be
Answers: 1
You know the right answer?
Write a program to simulate an online purchase by asking the user for input and displaying a receipt...
Questions
question
Mathematics, 05.06.2021 18:30
question
Mathematics, 05.06.2021 18:30
question
Mathematics, 05.06.2021 18:40