Find Me! - Hackerearth Problem Solution - CODELABS3277

So with the hope that you have tried to solve this problem, if not then please give it a try before seeing the solutions.

If already tried then here we will be exploring numerous ways to solve this problem. Though it is a very basic problem from Number Theory!

Solutions:

Given: A, B, and N,
we need to find C such that N = A+B+C so from the basic arithmetic concept we have C = N-(A+B). 

C++ Solution:
By - PraveenKumarRana

If you find any error in explanation or in code does write in the comment section.  These are the code which I have written and submitted in Hackerearth.

Thank You
Happy Coding
Enjoy!

Comments