1. Request three items and their individual costs from the user console. Print a shopping cart in columns for the input
Posted: Mon Jun 06, 2022 4:58 pm
1. Request three items and their individual costs from the user console. Print a shopping cart in columns for the input items and their costs using the setw command. Your program must look exactly like the example output below assuming that the console input is identical. Example Output (console input is italicized) Input first name and cost: Piazza 2.35 Input second name and cost: Coke 1.25 Input third name and cost: Taco 1.15 Shopping Cart * Item Cost Piazza $2.35 Coke $1.25 Taco $1.15 #