Computer Science, asked by bvsrividya4, 2 months ago

Rewrite the following series of nested if statements as one if-else statement (with
no nesting) that does the same thing.
const int TRUE = 1;
const int FALSE = 0;
int honors;

int awards;
int good_student;
if (honors == TRUE)
{
if (awards == TRUE)
{
good_student = TRUE;
}
else
{
good_student = FALSE;
}
}
else
if (honors == FALSE)
{
good_student = FALSE;
}
…………………………
PLEASE ANSWER​

Answers

Answered by lakshmiraja1787
0

Explanation:

I think FALSE I don't know about

Similar questions