+ 2
Read the values a,b and c.Add them and after addition check if it is in the range of 100 and 200 or not.
Print "The sum is between"or"The sum is out of range". Run time output: 68 55 31 Output: The sum is between 155
5 Réponses
+ 1
Good one.. It's very close..
According to task, it asked to print "The sum is out of range" in else part..
Also check is 100, 200 are inclusive or not..
+ 1
Try to use <= , >= instead of <, >
And print else part according to description..
0
Where is your try? Try yourself first and post your attempt if unsolved....
0
When I validate this the testcase is not in 100percnetage