Question: help me to write c code [20 Points) Department Store Anniversary & Medium AC Ratio: 13.7% (290/2113) #Loop #Array #lf/else The NCKU department store is

 help me to write c code [20 Points) Department Store Anniversary& Medium AC Ratio: 13.7% (290/2113) #Loop #Array #lf/else The NCKU department

help me to write c code

[20 Points) Department Store Anniversary & Medium AC Ratio: 13.7% (290/2113) #Loop #Array #lf/else The NCKU department store is having an anniversary sale. Customers can get free gift if they spend more than $100. On the 8th floor, people line up in rows of two in front of the customer service counter to get their gift. Suddenly, one of the desk goes out of service, so customers in front of this desk must merge into the other line. For the sake of fairness, staffs need to help people to line up in one line in the order of their arrival. Luckily, you are the one who remember the order of everyone's arrival. (what a reliable staff, huh?) Can you decide the final order of the new line? ,100 ,, , , ,( )? INPUT AND OUTPUT EXAMPLE Input The input consists of 3 lines. The first line contains 2 integers m, n. Each line indicates the number of people. And 10

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!