Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dick Baldwins Tut Question re While Loop
Old
legend_018
Guest
 
Status:
Posts: n/a
Default Dick Baldwins Tut Question re While Loop - 09-26-2008, 06:01 PM

I was just wondering. There are some examples that look like this:

while ((grade >=0) ect.


My question is: Can you put a relational expression inside the conditional clause of the while. like a grade< 1 || grade > 100

I can't write the whole thing because it keeps giving me an error when I click on submit new thread.

Last edited by legend_018; 09-26-2008 at 08:02 PM.
   
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.