Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Write Program Using C Please Use Scanfs Read Integer Real Numbers Use Getss Read Strings Q35595461

2) Remove al tatio 3) Provide a prompt for each entry required in the invoice below and then read in the user data. For examp

write a program using c++.

please use scanf_s() to read integer and real numbersand use gets_s() to read strings.

please provide a screenshot of the output
thank you!

2) Remove al tatio 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 . You should have only 30 printf) statements 5) There are 30 lines in the invoice. There should not be much modifications from lab 2. 78901234567890 INVOICE 2 123456789012345678901234567890123456789012345678901234567890123456 3 [Company Name 4 [Company Address Line 1 s [city, State, Coutry 6 [Zip Code Invoice 123451 1 Invoice Date [mmddyyyyl P.o.t I 18983451 Due Date [mmddyyyy] Bill To 9 [Bill1 to Name Ship To ] IShip to Name 10 [Bill to Address Line 1 IShip to nddress Line 11 1Bill to Address Line 2 J [Ship to Address Line 2) 12 [B11 1 to Address Line 3 [Ship to Address Line 3) I UNIT PRICE AMOUN DESCRIPTION 32.21 I $ 2.911 322.10 I + 10 I iteml description + lI item2 description 2+210 1 item3_description 2.91 1 0.211* 44.10I Subtotal I $ Discount 1 9 369.11 10.00 Sales Tax Rate l Sales Tax 1 8. 25% 29.63 TOTAL 1 8 388.74 Show transcribed image text 2) Remove al tatio 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 . You should have only 30 printf) statements 5) There are 30 lines in the invoice. There should not be much modifications from lab 2. 78901234567890 INVOICE 2 123456789012345678901234567890123456789012345678901234567890123456 3 [Company Name 4 [Company Address Line 1 s [city, State, Coutry 6 [Zip Code Invoice 123451 1 Invoice Date [mmddyyyyl P.o.t I 18983451 Due Date [mmddyyyy] Bill To 9 [Bill1 to Name Ship To ] IShip to Name 10 [Bill to Address Line 1 IShip to nddress Line 11 1Bill to Address Line 2 J [Ship to Address Line 2) 12 [B11 1 to Address Line 3 [Ship to Address Line 3) I UNIT PRICE AMOUN DESCRIPTION 32.21 I $ 2.911 322.10 I + 10 I iteml description + lI item2 description 2+210 1 item3_description 2.91 1 0.211* 44.10I Subtotal I $ Discount 1 9 369.11 10.00 Sales Tax Rate l Sales Tax 1 8. 25% 29.63 TOTAL 1 8 388.74

Leave a Reply

Your email address will not be published. Required fields are marked *