Grades - <<...

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

View Full Document Right Arrow Icon
// file: Grades.cpp // author: j. dzuback // modified: // date: / /* ********************************************** The program reads a value from the keyboard ********************************************** */ #include <iostream> #include <iomanip> #include <string> # using namespace std; u int main() { int score; char grade; string newGrade; s cout << "Enter an integer score earned in a course "
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: &lt;&lt; &quot;&amp; press the enter key. ..&quot;; cin &gt;&gt; score; cout &lt;&lt; endl &lt;&lt; endl; c // STUDENT -- insert code/modify the program according // to the Experiments in this lab. / if (score &gt; 100) cout &lt;&lt; &quot;Warning!! The score is outside the valid range.&quot; &lt;&lt;endl; c cout &lt;&lt; endl &lt;&lt; endl &lt;&lt; &quot;***** end of Grades.cpp *****&quot;; cout &lt;&lt; endl; return 0; } // end of main...
View Full Document

Ask a homework question - tutors are online