I was trying to create like a test thingy but it's not working (im pretty new to c++ still). help please.
#include <iostream> int main () { int a; int b; int sum; cout<<"enter the first value\n"; cin>>a; cout<<"enter the second value\n"; cin>>b; sum = a + b; if (sum == 3) { cout<<" you won "; } return 0; }