Assign1S09 - student Sample Output format(XXXX represents...

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

View Full Document Right Arrow Icon
Assignment #1 Due: Feb. 6, 2009 (11:59 pm submitted electronically) You are asked to develop a solution and design a C++ program to calculate the average for student and print a report. The following data are provided; the student has a final exam score, a midterm score, 2 quiz scores and total for homework scores. Tests and quizzes are out of maximum 100 each. The total for homework is maximum 500. Final exam is worth 40%, midterm is 30%, each quiz is 5% and homework is worth 20% of the average. Prompt the users for the name of the student, and each of the scores, read them, and then calculate the average based on the provided weight. At the end print a complete report about the student with all the details with nice and informative labels. Use the following data to test your program: (input to your program is the data associated with a
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: student.) Sample Output format: (XXXX represents the input provided by the user) Please enter student name: XXXX Please enter final exam score: XXXX Please enter midterm score: XXXX Please enter 2 quiz scores: XXXX XXXX Please enter total of the homework points: XXXX Report for XXXX Final exam score: XXXX Midterm exam score: XXXX Quiz 1 score: XXXX Quiz 2 score: XXXX Homework score: XXXX XXXX has an average of XXX.XX Use the following data to test your program: Student name: Jack Smith Final exam: 100 Midterm: 90 Quiz 1: 80 Quiz 2: 100 Homework Points: 450 To submit your programs electronically refer to the instructions posted on the class web site or Blackboard. What to submit: A text file containing student Id section, analysis, algorithm, and C++ code. Please refer to posted sample on BB for the exact format....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online