Make a C program that prompts a customer to order 5 types of viand with a corresponding price. Note: A 12% Value Added Tax will be charged to every customer. The teller will also input the amount to be paid by the customer. Output the amount to be paid by the customer as well as the change (if ever the amount given is more than the amount to be paid. Sample Output if Applicable OARuel Lauron\C_Programs\viand_prob.exe Enter name of viand1:litson Enter price of viand1:350 Enter name of viand2:sinigang Enter price of viand2:150.75 Enter name of viand3:cho pc heuy Enter price of viand3:125.50 Enter name of viand4:tinola Enter price of viand4:75 Enter name of viand5: paks iv Enter price of viand5:50.75 Total anount to be paid is: 842.24 Please enter amount to be paid:1000 Change is: 157.7%
Make a C program that prompts a customer to order 5 types of viand with a corresponding price. Note: A 12% Value Added Tax will be charged to every customer. The teller will also input the amount to be paid by the customer. Output the amount to be paid by the customer as well as the change (if ever the amount given is more than the amount to be paid. Sample Output if Applicable OARuel Lauron\C_Programs\viand_prob.exe Enter name of viand1:litson Enter price of viand1:350 Enter name of viand2:sinigang Enter price of viand2:150.75 Enter name of viand3:cho pc heuy Enter price of viand3:125.50 Enter name of viand4:tinola Enter price of viand4:75 Enter name of viand5: paks iv Enter price of viand5:50.75 Total anount to be paid is: 842.24 Please enter amount to be paid:1000 Change is: 157.7%
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
Make a C
Note: A 12% Value Added Tax will be charged to every customer. The teller will also input the amount to be paid by the customer. Output the amount to be paid by the customer as well as the change (if ever the amount given is more than the amount to be paid.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY