Answer:
Check the explanation
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:\n";
cin >> score;
return score;
}
void printEvaluation(int aScore)
{
cout << "IQ Score: " << aScore << " IQ Rating: ";
if (aScore <= 100)
{
cout << "Below Average\n";
}
else if (aScore <= 119)
{
cout <<"Average\n";
}
else if (aScore <= 160)
{
cout << "Superior\n";
}
else if (aScore >= 160 )
{
cout << "Genius\n";
}
}
Answer:
The expression on line 9 required 2 brackets
Explanation:
Given
The attached code
Required
Why syntax error.
The error points to line 10, but the error is actually from line 9
To get an integer input, the syntax is:
variable-name = int(input("Prompt"))
From the attached code, the line 9 is:
amount = int(input("Enter cheese order weight: ")
By comparing the syntax to the actual code on line 9, only 1 of the brackets is closed.
<em>This, in Python 3 is a sytax error</em>
Answer:
Go to the Use the profile settings page. Click on "I want to delete my account" button located inside the Privacy tab on your profile settings page. Enter your Password.
Explanation:
True however it’s also depends on where you live but for this purpose it’s true