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, 22.06.2019 19:10
What a backup plan that you have created in a event you encounter a situation
Answers: 2
question
Computers and Technology, 22.06.2019 22:20
Pp 4.1 design and implement a class called sphere that contains instance data that represents the sphere’s diameter. define the sphere constructor to accept and initialize the diameter and include getter and setter methods for the diameter. include methods that calculate and return the volume and surface area of the sphere (see pp 3.5 for the formulas). include a tostring method that returns a one-line description of the sphere. create a driver class called multisphere, whose main method instantiates and updates several sphere objects.
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Which component acts as a platform on which application software runs
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
How can a user delete a drawing object
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, 26.03.2021 22:10
question
English, 26.03.2021 22:10
question
Mathematics, 26.03.2021 22:10
question
Mathematics, 26.03.2021 22:10
Questions on the website: 13722363