Answer:
Check the explanation
Step-by-step explanation:
#include <iostream>
#include <iomanip>
using namespace std;
int getIQ(); // return the score
void printEvaluation(int);
int main()
{
int IQ = 0;
IQ = getIQ();
printEvaluation(IQ);
return 0;
}
int getIQ()
{
int score = 0;
cout << "Please enter your IQ Score to receive your IQ Rating:\\";
cin >> score;
return score;
}
void printEvaluation(int aScore)
{
cout << "IQ Score: " << aScore << " IQ Rating: ";
if (aScore <= 100)
{
cout << "Below Average\\";
}
else if (aScore <= 119)
{
cout <<"Average\\";
}
else if (aScore <= 160)
{
cout << "Superior\\";
}
else if (aScore >= 160 )
{
cout << "Genius\\";
}
}