Remember to checkout the Codesnip below to review the C++ code yourself! Feel free to copy the code, but I ask that you please provide credit if you leave the code unchanged when you use it.
//Name: Nazmus //Program: Using Implementation Files //Website: EasyProgramming.net //header.h #pragma once #include <iostream> #include <string> using namespace std; void prompt(string name[3], int grade[3]); void init(int index[3]); void sort(string name[3], int index[3]); void output(string name[3], int grade[3], int index[3]);
//Name: Nazmus //Program: Using Implementation Files //Website: EasyProgramming.net //main.cpp #include "header.h" int main() { string name[3]; int grade[3]; int index[3]; prompt(name, grade); init(index); sort(name, index); output(name, grade, index); }