hw02 - CS 159 HW #02 5 Points Possible Due: February 8,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 159 – HW #02 YOUR NAME: __________________________________ 5 Points Possible Due: February 8, 2010 at 11:00pm . Problem: Write a program that will calculate your grade in CS 159 given the scores seen in the example executions below as input. Additional Requirements: DO NOT use any material found outside of the first three chapters of the C text. UTILIZING ANY SELECTION CONSTRUCTS (Chapter 5) WILL RESULT IN A ZERO FOR THIS ASSIGNMENT. Make good use of symbolic constants. Accept input and produce output exactly as seen in the example executions below. Midterm and Final Exam scores will be integer values, all other values may be floating-point data. You will find the cutoffs for each letter grade in your course packet. Example Execution #1: Enter homework total: 30.4 Enter lab total: 52.8 Enter midterm #1 score: 75 Enter midterm #2 score: 78 Enter final exam score: 99 Enter lecture quiz total: 8 Enter lab quiz total: 48.8 -=-=-=-=-=-=-=-=-=-=-= -=- CS 159 Grades =-=
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/22/2010 for the course CS 159 taught by Professor Crum during the Spring '08 term at Purdue.

Page1 / 2

hw02 - CS 159 HW #02 5 Points Possible Due: February 8,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online