My issue
I wrote the correct program, and answer is also correct, but you are showing its wrong, what’s the problem
My code
#include <bits/stdc++.h>
using namespace std;
int main() {
int a = -50;
int b = 40;
// Update your code below this line
int sum=a+b,product=a*b,quotient=a%b;
cout<<sum<<endl<<product<<endl<<quotient;
return 0;
}
Learning course: Learn C++
Problem Link: CodeChef: Practical coding for everyone