0
Stuck on C++ question
int a = 144; int b = 33; if (a>12, this is the part Iâm stuck on, b<=) { cout << âYou rock!â << endl; }
2 Answers
+ 3
Hey Ayabonga Mpeta , correct this
int a=144;
int b=33;
if(a>12 && b<=33)
{
cout<<"you rock!";
}
Use && for both conditions true , use || for one of the conditions to be true..
and also please use appropriate tags
+ 1
Please don't write any question or statement into the thread's tags, use relevant words in tags, e.g. a relevant language (C++) and/or subject (conditionals). Appropriate tags helps to narrow down scope and context of the question đ