•//************************************************************
•//
Notices program
•//
This program determines (1) a student's average based on
•//
three test scores and (2) the student's passing/failing
•// status
•//************************************************************
•
•#include
<iostream>
•#include
<iomanip> // For setprecision()
•using namespace std;
•
•int main()
•{
• float average; // Average of three test scores
• long studentID; // Student's
identification number
• int test1; // Score for
first test
• int test2; // Score for
second test
•