Answer
Since you did not mention the programming language, Iassumed that this is in c++. (I have seen a similar question in C++language). Here is the completed code for
OR
OR
Answer
Since you did not mention the programming language, Iassumed that this is in c++. (I have seen a similar question in C++language). Here is the completed code for