Advertisement
Guest User

Untitled

a guest
Nov 10th, 2024
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. #include "functions.h"
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     string studentNames[10] = { "Adam", "Becky", "Charles", "Deborah", "Ethan", "Frances", "Gretchen", "Herbert", "Isabel", "Justin" };
  9.     int studentGrades[10] = {78, 83, 62, 57, 81, 90, 75, 88, 92, 71};
  10.  
  11.     formatStudentGrades(cout, studentNames, studentGrades, 10);
  12.  
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement