Computer Science, asked by mu9choprabhisomas, 1 year ago

Bhuvan loves to play with numbers.his friend arya gives him two numbers to add.arya is suffering from dysgrahia sometimes writes 6 as 5 and vice versa,given two numbers x,y find the maximum and minimum sum arya could possibly get


tanujamahajan: Please send me C Code

Answers

Answered by kvnmurty
19
if 5 and 6 are the digits that are given to Bhuvan, it is possible that he takes them both as  5  or both as 6.

So minimum sum would be  10  and maximum would be 12.
Similar questions