Answer:
Following are the logical statement
if( ( satScore >=1100 ) && ( gpa>2.5 ) && ( age>15 ) ) // check all condition
{
isCandidate=true;// assign True to the boolean variable isCandidate
}
else
{
isCandidate=false; // assign false to the boolean variable isCandidate
}
Step-by-step explanation:
In this code we Check the condition in the if block that is " checking satScore variable > = 1100, gpa > 2.5 and age>15 if all the condition are true then it assigning the "true" to the boolean variable "isCandidate" otherwise assign "false" in the boolean variable "isCandidate".