Quiz no.1 IF/THEN

Quiz no.1

Given 3 int values, a,b,c return their sum. However, if one of the values is 13 then it does not count towards the sum and values to its right do not count so for example if b is 13, then both both b and c do not count


please enter value of "a"
please enter value of "b"
please enter value of "c"

????

No comments:

Post a Comment