CSCI 1300: Quiz: 13 Feb 2007 You may mark any of the 8 parts as "Uncertain." If an uncertain answer is right, you will then receive 90%. If it is wrong, you will still receive 30%. For each question, please fill in the four parts (A, B, C and D) of a simple for-loop: for (A; B; C) { D; } ----------------------------------------------------------- 1. Fill in the four parts (A, B, C and D) for a loop that prints the integers from 1 to 100 in order from smallest to largest. int i; for (i=1; i<=100; ++i) { cout << i << endl; } 2. Fill in the four parts (A, B, C and D) for a loop that prints the integers from 100 down to 1 in order from largest to smallest. int i; for (i=100; i>=1; --i) { cout << i << endl; } ----------------------------------------------------------- Engineering Fellows Who: Garrett & Jessa How Soon: Hopefully this Thursday Time: about 6:30pm Location: TBD for updates and more info: http://fellows.colorado.edu for other questions (not answered by the website): jessica.rothenberg@colorado.edu