I just started programming in C and in general. I am having trouble with the syntax. I know what I want to say logic wise but I just don’t know the correct formatting/syntax.
Thank you!
How do I write:
“while integer n is not equal to 10 or 20”
How do I write:
“while integer n is between 10 and 20 inclusive”
How do I write:
“while integer n is between 10 and 20 inclusive or 30 and 40 inclusive”
How do I write:
“while integer n is not between 10 and 20 inclusive or 30 and 40 inclusive”
1 Answer