0
Can somebody tell me what's the problem with my code?
So I was tryna make a thing where it checks your number and sees if it's greater than 6 https://code.sololearn.com/cXM5ULYv3277/?ref=app
3 Answers
+ 2
int main()
{
int a;
int b = 6;
cin >> a;
if( a>b )
cout << "its greater than 6";
return 0;
}
+ 1
Lugli compare it with yours and check the errors you are getting ,you will find what you were doing wrong
one common thing you had wrong was capitalisation of int and cout which are case sensitive ,you can't do something like Int and Count and expect it to run good ,also cout << not cout >>
0
Thanks abhay but what did I do wrong?