possible? If (score == 90-100) ???

How can i make it possible to if (score == 90-100)
cout << "you are a winner\n;

? I basically want it to success if it it from 90-100
The easiest would probably to do it with a for loop.
Alright, havent been taught the for loop yet but is there any other way? with if or else statement?
Last edited on
if (score >= 90 && score <= 100)
^Was something like this what you were looking for?

-Albatross
Thanks!
Forget what I said; Albatross' solution is of course a lot easier and better :3
@Love236 Please, mark this thread as solved.
Topic archived. No new replies allowed.