The object of this assignment is to familiarize yourself with some of the basics of C: scanf, printf, for loops, case statements, if statements and counting donuts. The assignment is due February 7th at 1:59 pm. The assignment will be turned in electronically via the turnin command. The name for the assignment is 352assign1, so when you are ready to submit your solutions, you'll need to do: turnin 352assign1 donut.c where donut.c contains the C source code for your assignment Scenario: Homer eats too many donuts. He eats them at breakfast, at work, at lunch, at dinner. What's worse is that he buys his donuts individually (which we all know is much more expensive than if he bought them by the dozen). For example, one day, Homer eats 12 donuts. He buys five at the Kwik-E Mart for $.50 each, four at the Nuclear Power Plant for $.75 each and three at the donut shop for $1.00 each. So, he spends a total of $.50*5 + $.75*4 + $1.00*3 = $8.50. Had he bought a dozen at the donut shop, he would have spent $3.00 for a dozen, or $.25 each. He could have saved $5.50. Marge, in an attempt to show Homer how much money he wastes on donuts, wants either you, Lisa or Bart to write a simple C program to do these computations for her. Problem Overview: Your program will calculate the savings for one days worth of donuts. The input will be read from the standard input. The first item to be read will be how much a dozen donuts costs. The next item will be how many donuts homer has eaten that day. The rest of the line will be the individual price of each of the donuts. After the input is read, your program should calculate four things: (1) the cost of Homer's donuts for that day (2) how many dozen donuts would homer have to buy to get at least the number of donuts he got (In other words, if Homer ate 13 donuts, he'd have to buy 2 dozen donuts. If Homer are 12 donuts, he'd have to buy 1 dozen donuts). (3) The cost of the dozens of donuts (4) The savings (may be negative) of the individual dozens costs vs. the dozens costs Using the example from above, the input to your program would be: 3.00 12 .50 .50 .50 .50 .50 .75 .75 .75 .75 1.00 1.00 1.00 The expected output would be: Homer's individual donuts costs were $8.50 Homer could have saved $5.50 had he bought 1 dozen instead. Compilation: We will be compiling your program with 'gcc -ansi -Wall donut.c -o donut" and we expect your program to compile cleanly WITHOUT WARNINGS and WITHOUT ERRORS. If there are any warnings, you will be docked. If there are any errors, your program won't compile and you will get a 0 for the assignment. Sample Inputs: Here are some more examples, demonstrating how the program should behave on different inputs. % cat t0 3.00 12 .5 .5 .5 .5 .5 .75 .75 .75 .75 1.0 1.0 1.0 % ./donut < t0 Homer's individual donuts costs were $8.50 Homer could have saved $5.50 had he bought 1 dozen instead. % cat t1 3.00 13 .5 .5 .5 .5 .5 .75 .75 .75 .75 1.0 1.0 1.0 1.0 % ./donut < t1 Homer's individual donuts costs were $9.50 Homer could have saved $3.50 had he bought 2 dozen instead. % cat t2 3.0 1 .50 % ./donut < t2 Homer's individual donuts costs were $0.50 Homer could have saved $-2.50 had he bought 1 dozen instead. % cat t3 3.0 0 % ./donut < t3 Homer's individual donuts costs were $0.00 Homer could have saved $0.00 had he bought 0 dozen instead. % cat t4 10 5 1.11 2.22 3.33 4.44 5.55 % ./donut < t4 Homer's individual donuts costs were $16.65 Homer could have saved $6.65 had he bought 1 dozen instead. % cat t5 % ./donut < t5 Homer's individual donuts costs were $0.00 Homer could have saved $0.00 had he bought 0 dozen instead.