This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: ///// | o o | (| ^ |) | [_] |-----+-----+ |Suzan| +-----+ This is not an art class, so I will not be judging you on your artistic ability. But have fun with your design! Part 2: Write a program SumOfReciprocals that computes the sum of the reciprocals 1/1 + 1/2 + . .. + 1/5 and prints out the result. Also please answer the following questions as comments in the program: 1. When you got the program to run the first time (after correcting syntax errors), was the result 1? 2. Was this the result you were expecting? 3. How did you correct the problem? Grading 80% correct output 10% answering the questions in Part 2 10% style -- 5% each for comments and indentation and spacing...
View Full Document
- Spring '11
- Sort, Comparison of file archivers, hard copy, Parent directory, ZIP, WinZip, explicit acknowledgment