Answer:
The explanation to this question is given below in the explanation section.
Step-by-step explanation:
#include <iostream>
#include <string>
using namespace std;
int main()
{
int score;
cout << "Enter Score: \\";
cin>>score;
if (score == 100)
//whether the value of the score variable is equal to 100
{
cout << "Perfect ";
//If so, it should print “Perfect”
}
else
{
cout << "Nice Try ";
}
}