Question: write a program using c++. output should look exactly like what's shown in the picture. their should only be 30 printf() statements. use scanf_s and

 write a program using c++. output should look exactly like what's

write a program using c++. output should look exactly like what's shown in the picture. their should only be 30 printf() statements. use scanf_s and gets_s to read strings. thank you!

Th Student tou strings. is lab will familiarize the student on how to read user data from the keyboard. se scanf s0 to read integer and real numbers and use gets_s0 to read rite a C program to generate the following invoice. Requirements are as follows: 1) Copy lab2 folder into lab3. You start with the lab 2 program from last week. 2) Remove all initialization from your code. 3) Provide a prompt for each entry required in the invoice below and then read in the user data. For example, in line below. The prompt is "Please enter Invoice Number: ". When the user enters 12345 then this value is stored in variable invoice_number Please enter Invoice Number: 12345 5) There are 30 lines in the invoice. You should have only 30 printfO statements There should not be much modifications from lab 2. 1 2 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3 [Company Name 4 [Company Address Line 1 5 [City, State, Coutry 6 [Zip Code INVOICE Ship To ] [Ship to Name Invoice # [ 12345] ] Invoice Date [mmddyyyy] P..# [ 1898345] Due Date [mmddyyyy] 8 Bill To 9 [Bill to Name 10 [Bill to Address Line 1 [Ship to Address Line 1 ] 11 [Bill to Address Line 2 [Ship to Address Line 2 12 [Bill to Address Line 3 [Ship to Address Line 3 1 13 14 += 15 + QTY I 16 + +5 DESCRIPTION I UNIT PRICE I AMOUN I $ 32.21 I $ 2.91 $ I 0.21 1$ Subtotal I 322.10 + 10 | iteml_description 1 I item2_description 21 210 I item3_description 18 +-- 20+-+ 44.10 I 369.11 I Discount$ 10.00 I 2 4 25 26 Sales Tax Rate sales Tax 8. 25% 29.63 28 29 30 TOTAL I 388.74 I Th Student tou strings. is lab will familiarize the student on how to read user data from the keyboard. se scanf s0 to read integer and real numbers and use gets_s0 to read rite a C program to generate the following invoice. Requirements are as follows: 1) Copy lab2 folder into lab3. You start with the lab 2 program from last week. 2) Remove all initialization from your code. 3) Provide a prompt for each entry required in the invoice below and then read in the user data. For example, in line below. The prompt is "Please enter Invoice Number: ". When the user enters 12345 then this value is stored in variable invoice_number Please enter Invoice Number: 12345 5) There are 30 lines in the invoice. You should have only 30 printfO statements There should not be much modifications from lab 2. 1 2 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3 [Company Name 4 [Company Address Line 1 5 [City, State, Coutry 6 [Zip Code INVOICE Ship To ] [Ship to Name Invoice # [ 12345] ] Invoice Date [mmddyyyy] P..# [ 1898345] Due Date [mmddyyyy] 8 Bill To 9 [Bill to Name 10 [Bill to Address Line 1 [Ship to Address Line 1 ] 11 [Bill to Address Line 2 [Ship to Address Line 2 12 [Bill to Address Line 3 [Ship to Address Line 3 1 13 14 += 15 + QTY I 16 + +5 DESCRIPTION I UNIT PRICE I AMOUN I $ 32.21 I $ 2.91 $ I 0.21 1$ Subtotal I 322.10 + 10 | iteml_description 1 I item2_description 21 210 I item3_description 18 +-- 20+-+ 44.10 I 369.11 I Discount$ 10.00 I 2 4 25 26 Sales Tax Rate sales Tax 8. 25% 29.63 28 29 30 TOTAL I 388.74

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!