Answered step by step
Verified Expert Solution
Question
1 Approved Answer
num _ score 1 and num _ score 2 are read from input. If num _ score 1 is less than 0 , then output
numscore and numscore are read from input.
If numscore is less than then output 'numscore is negative.
If numscore is greater than or equal to then assign numscore with
Otherwise, output 'numscore is less than
Click here for examples
Ex : If the input is:
then the output is:
numscore is negative.
numscore is
Ex : If the input is:
then the output is:
numscore is less than
numscore is
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started