0

i am trying to use an if statement which will say some thing if points is greater than or equal to 15 AND less than 20. like this:

if points >= 15 and < 20 then writeln('Nice!');

but this code doesnt work. how would i do it?

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by FlamingClaw
1

I have an idea:

If (Points >= 15) And (Points < 20) Then WriteLn('Nice!');

I hope that you know that this gives true value back if both of condition are true...and the answer was good then click 'Solved'..

Votes + Comments
helped with a conditional problem
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.