HW7 grading. 20 points total. 0 points - no hw7.c file in your handin directory. 5 points if hw7.c has something reasonable-ish in it but does not compile. 10 points if it runs and password part is correct (including loop) but no triangles/squares. 10 points if password part is correct with small problem and one triangle/square is printed. 13 points if password part correct and at least one triangle/square printed. 16 points if password correct, ask user for width of triangle/square and it is used correctly to print one triangle/square. 18 points if password correct, ask user for width, and the right number of triangle/squares printed but not in increasing width. -.5 for small errors: * including the result of the triangle function in a printf, e.g. printf("%c",triangle(5)) which will print a wierd character. * using a while loop to do something __ times, but did not initialize the counter variable (so who knows what it will actually be...). * confusing print statements. For example, no printf statement asking user to enter the number (just a scanf there, so how is user supposed to know what to sypte?). * Using strcmp wrong with the "quit" check makes the program exit early, but still works correct if enter password correct on first try. Extra credit... 2 points if giving choice of printing triangle or square and printing whichever correctly. 4 points if doing both triangles and squares, giving the user the choice, and with a really nice user interface (text-based menu system). Remember... * Need to check that strmp(password,"cs151") == 0. Same with "quit". For strcmp, need to check if it is equal to 0 to see if they are the same. * With scanf, when reading in a number or character, the variable you're reading it into needs to have an & in front of it, like scanf("%d", &width);