Question: tion 3 . 4 - IFT 1 0 1 : Informat Freddie Mercury's LAST VI x 3 ? section ? 4 etecting ranges with branches
tion IFT : Informat
Freddie Mercury's LAST VI
section
etecting ranges with branches
CHALLENGE
ACTIVITY
: Ifelse expression: Operator chaining.
Variable usergrade is read from input: Use operator chaining to complete the ifelse expression as follows:
If the value of user grade is between and both inclusive then in high school" is output.
Otherwise, "not in high school' is output.
Ex : If the input is then the output is:
in high school
Ex : If the input is then the output is:
not in high school
Note:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
