Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Quiz numbers
- int quiz2[4];
- int q2;
- int quizcount2;
- for(int f=0; f<=4; f++)
- {
- inStream>> q2;
- if(f >=0 && f <= 100)
- {
- quiz2[f] = q2;
- quizcount2+=quiz2[f];
- }else
- {
- cout<<"Grade is invalid for " + student2<<endl;
- }
- }
Add Comment
Please, Sign In to add comment