I will upvote fast!
Please separate the program into 3 different modules, and have
each module called from main. Please use std::cin,
std::cout and nothing else.
PlEASE DO NOT USE:
Global variables
Selection statements, repetition statements, return statements
(excepting the optional return 0; at the end of main), or
arrays
The line using namespace std;
Inclusion of libraries that are specific to a particular
operating system, or use of their commands
Calls to the system function
Please create a c++ program...