Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Assignment 5
Old
Petit Suisse
Member
 
Status: Offline
Posts: 46
Join Date: Jul 2015
Default Assignment 5 - 07-25-2015, 03:39 PM

Kept running into an issue that my object would do the same thing no matter what I wrote in my if statements. Turns out I forgot to set the variable to the change number after asking for age. Worked then. Gets a bit confusing sometimes.
   
Reply With Quote
Old
Ylu
Member
 
Status: Offline
Posts: 35
Join Date: Jul 2015
Default 07-28-2015, 06:33 PM

Congratulations on the completion !!! Sometimes the errors are staring us in the face and we can't see it.
   
Reply With Quote
Old
CodeMan
Member
 
CodeMan's Avatar
 
Status: Offline
Posts: 36
Join Date: Aug 2013
Location: Northern Virginia
Default 07-28-2015, 09:09 PM

Quote:
Originally Posted by Petit Suisse View Post
Kept running into an issue that my object would do the same thing no matter what I wrote in my if statements. Turns out I forgot to set the variable to the change number after asking for age. Worked then. Gets a bit confusing sometimes.
One tip, if you're having issues with something say what is happening step by step aloud to yourself. It may seem weird but i use it alot, especially with c#


Im really RavenOfCode... shhhh....

Currently work on my first app :)
   
Reply With Quote
Reply

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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.