#include<iostream.h>int main (){ int x=-3;int y=6;if(x<0 && y==2)//here was the prblm you forgot to give two equal to( y==2)
x=40;cout<<x<<" "<<y<<endl;return 0;}
#include<iostream.h>int main (){ int x=-3;int y=6;if(x<0 && y==2) //it should be written like this because you are comparing value of y//x=40;cout<<x<<" "<<y<<endl;return 0;}
#include<iostream.h>int main (){ int x=-3;int y=6;if(x<0 && y==2)//comparision so we use double equalx=40;cout<<x<<" "<<y<<endl;return 0;}
#include<iostream.h>int main (){
int x=-3;int y=6;if(x<0 && y==2)x=40;cout<<x<<" "<<y<<endl;return 0;
}