+ 1
i want to write a line of code that looks like this if (a>10){ I know that in c++, you cannot just have greater than (>) or less than (<). j it must be (>=) or (<=). But the code I need to write does not include the equal to(=). it just has to be greater than 10. What do I do?
2 Answers
+ 4
Who says that you cannot have if (a > 10)?
Try it. It works! :D
+ 1
yea it worked!!!