You have 30 minutes for this quiz. You may use any files in our cs account, or class files in ~jkinne/public_html/cs151-2013/code You MAY NOT use a calculator, phone, etc. You MAY NOT use written notes. Regular class will resume after the quiz. Total points: 20 HW points, counts as hw9. ------------------------------------------------ Complete as many of the following as possible. 1) In your handin/hw9II/ directory, use emacs to create a file called chars.c. The program should ask the user to enter a a string of 3 characters. The program should then tell the user what the first, second, and third characters are. Here is an example transcript from running the program. > gcc chars.c -o chars > ./chars Enter a 3-character string: ok. First character: o Second character: k Third character: . Note: If s is your string, then s[0] is the first character, and s[1] and s[2] are the second and third. 2) In your handin/hw9II/ directory, use emacs to create a file called bottles.c. The program should print the message "__ bottles of milk on the wall..." 11 times, with __ counting down from 10 to 0. You should use a loop. Note: get it working with __ just as __ first. Then get it counting down. 3) In your handin/hw9II/ directory, use emacs to create a file called manyBottles.c. Make a copy of your bottles.c program, and also ask the user how many bottles they want to start with. Whatever they enter, count down from that many bottles to 1. Here is an example transcript. > gcc manyBottles. -o manyBottles > ./manyBottles How many bottles? 5 5 bottles of milk on the wall... 4 bottles of milk on the wall... 3 bottles of milk on the wall... 2 bottles of milk on the wall... 1 bottles of milk on the wall... 0 bottles of milk on the wall... 4) Something extra to work on, in case you finish everything else. I will be surprised if anyone finishes this one... In your handin/hw9II directory, use emacs to create a file called calender.c. The program should ask the user for the name of a month, and then should print a nice display of the days in that month, for the year 2013. Note that January started on a Tuesday. Months with 31 days: January, March, May, July, August, October, December Months with 30 days: April, June, September, November Months with 28 days: February The correct display for January would look something like January, 2013 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31