My issue
The correct answer is 5914 but in option there is no such answer.
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone
The correct answer is 5914 but in option there is no such answer.
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone
Correct Answer:
16
Explanation:
If the user enters 5 and 9, then based on the scanf() operation, a = 5 and b = 9.
Next operations is c = a + 2 = 7
Next operation is d = c + b = 7 + 9 = 16
Eventually we output 16!