Lab 3 - 7 Set weight for Quiz to 10 B Process 1 Test-Avg...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CSCI 101: Fundamentals of Computer Programming Fall 2009 Lab 3: First C++ Program 1) Compile and run program Lab3.cpp, modify the format modifiers and observe the effects on the output. 2) Given the following algorithm develop the C++ program for it. A) Input 1) Prompt user for Full name including any middle initials 2) Prompt user for 3 test scores 3) Prompt user for programming score 4) Prompt user for quiz score 5) Set weight for test to 60% 6) Set weight for Programming assignments to 30%
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 7) Set weight for Quiz to 10% B) Process 1) Test-Avg = (Score1 + Score2 + Score3 ) / 3 2) Average = Test_Avg * 0.6 + Quiz * 0.1 + Assign * 0.3 C) Output 1) Print student Name 2) Print test score with a descriptive label 3) Print average of the tests with a descriptive label 4) Print quiz score with a descriptive label 5) Print programming score with a descriptive label Congratulations, you are done. Have your TA check out your work to get credit....
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