+ 4

Challenge in C++ (Is equal or not?)

The challenge is simple You have to make a code taking three integer(a,b,c) inputs and will print TRUE if the sum or difference of b and c is a and if not it will print FALSE sample input: 5 4 1 sample output TRUE

26th May 2018, 3:55 PM
Shahil Ahmed
Shahil Ahmed - avatar
2 Antworten
+ 4
Thanks for simple challenge.. my code: https://code.sololearn.com/ceGywYIGWnIQ/?ref=app
26th May 2018, 5:38 PM
Shobikaj
Shobikaj - avatar
0
https://code.sololearn.com/cN8ja3DpZ9mS/?ref=app Here you go. Checks for valid input
22nd Jul 2018, 8:58 AM
Vari93
Vari93 - avatar