{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

CSC 1401 Homework 1 - | o o |(| ^ | | | |Suzan| This is not...

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

View Full Document Right Arrow Icon
CSC 1401 Homework 1 All work that is turned in must: Contain explicit acknowledgment if you received ANY sort of help (from students or other professors) Turn in a hard copy of your code and a hard copy of the output as follows: o The hard copies must be in the order listed in the homework email me a zipped file of your code o Create a directory called yourname HW1 and do all your work under this directory. o Go to the parent directory and zip this directory using Winzip (or gzip under Unix) o Email the zip file to me. Part 1: Write a program FaceMaker that prints a face, using text characters. Leave one blank line under the face and then display your name inside a box. The final "picture" should look something like (though hopefully better than):
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the 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

{[ 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