You are viewing a single comment's thread. Return to all comments →
using namespace std;
void update(int a,int b) { // Complete this function int c=a+b; int d; if(a>b){ d=a-b; }else{ d=b-a; } cout<
int main() { int a, b; cin>>a>>b; update(a,b); return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Pointer
You are viewing a single comment's thread. Return to all comments →
include
include
using namespace std;
void update(int a,int b) { // Complete this function int c=a+b; int d; if(a>b){ d=a-b; }else{ d=b-a; } cout<
int main() { int a, b; cin>>a>>b; update(a,b); return 0; }