CS 171 Homework 1 - Introduction to C++

CS 171 Homework 1 - Introduction to C++ - CS 171 Homework 1...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 171 Homework 1 - Introduction to C++ CS 171 Computer Programming I, Fall 2006 Sections 60, 61, 501, 701 Homework 1 - Introduction to C++ by Adelaida Medlock Due Date: Wednesday, October 11, 2006, 11:59 PM Late Due Date: Thursday, October 12, 2006, 11:59 PM PURPOSE: After completing this assignment, you will have designed, implemented, debugged, compiled and provided documentation for a simple C++ program. THE ASSIGNMENT: This assignment consists of three sections: 1. Suggested problems (not to be turned in). 2. Written problems to be turned in. 3. Two programs to be completed. 4. Extra Credit . Click here to return to top of this page.. 1. Suggested Problems : From the Horstmann text: Chapter 1 (pp. 29-32): R1.1, R1.2, R1.3, R1.4, R1.7, R1.9, P1.3, P1.4 Chapter 2 (pp. 70-78): R2.2, R2.4, R2.6, R2.15, R2.16, P2.3, P2.5, P2.6, P2.7 Back to Top 2. Problems to be turned in : From the Horstmann text: Chapter 1 (pp. 29-32): R1.13, R1.16 Chapter 2 (pp. 70-78): R2.1 ( Hint : That last formula has a lower case gamma in it, not a "y"), R2.3*, R2.6*, R2.7* *explain how to correct the errors as well as simply finding them! http://www.cs.drexel.edu/~mcs171/Fa06/assignments/HW1/index.html (1 of 4)10/3/2006 9:23:07 AM
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 171 Homework 1 - Introduction to C++ Click here to return to top of this page. 3. Programs Program 1 Assuming there are no deposits other than the original investment, the balance in a savings account after one year may be calculated as: where Principal is the balance in the savings account, Rate is the interest rate, and T is the number of times the interest
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern