My issue
there is output of the sum but its showing wrong answer???.
My code
#include <iostream>
using namespace std;
int main() {
int a, b;
int sum;
int diff;
cin >> a;
cin >> b;
sum = a +b;
diff= a-b;
cout<<"sum is: " << sum << endl;
cout<< "Difference: "<<diff;
return 0;
}
Learning course: Learn C++
Problem Link: CodeChef: Practical coding for everyone