After a valid purchase object has been created display the


Create a structure named Purchase. Each Purchase contains an invoice number, amount of sale, and amount of sales tax. Create a main()method that declares a Purchase object and prompts the user for purchase details. When you prompt for an invoice number, do not let the user proceed until a number between 1000 and 8000 has been entered. When you prompt for a sale amount, do not proceed until the user has entered a non-negative value. Compute the sales tax as 5 percent of the purchase price. After a valid Purchase object has been created, display the object's invoice number, sale amount, and sales tax. Save the file as CreatePurchase.cpp.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: After a valid purchase object has been created display the
Reference No:- TGS02192812

Expected delivery within 24 Hours