Question: Write a C Code for the given requirements: The shop sell 5 things with the price below: 1.6$ 2.8$ 3.12$ 4.3$ 5.9$ Input the order

Write a C Code for the given requirements:

The shop sell 5 things with the price below:

1.6$

2.8$

3.12$

4.3$

5.9$

Input the order number and count the sum of products. if print -1 stop the execution.Ex: Input 1 2 4 5 -1 Output 26. Need to use switch

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!