yesYesNoNo.bas

Screen Shot 2017-03-22 at 12.53.30 PMScreen Shot 2017-03-22 at 12.53.49 PMScreen Shot 2017-03-22 at 12.53.56 PM

My program functions so that it will reply to an input of “yes” “Yes” “no” and “No”. the program will respond to these inputs with it’s own comment and move onto the next question. Although, im programming it up to the second question, i didnt come up with how it would reply to the second question. I plan to finish it by having the program respond to the user’s answer with a comment of it’s own before ending for each combination of answers, though i still have to constrain the user’s inputs into a loop and end the program after the program’s response.

 

 

 

 

 

Final Version (also AER stands for Aereny)

After 16 more copies (with much resilience) I kept the bad answer loops, but I added the line numbers needed for the responses and used AND so that if for instance someone types yes for the first question and no for the second question, it will give the person who typed those inputs a unique response only to that pattern of inputs. This applies to other possible combinations of inputs as well. Also, when the last input is entered, the program has a response and then it ends at 800, for each response. There are lines like 411 that finish a sentence without it cutting off in chipmunk BASIC, so I added those to every long sentence that would usually cut off if I didnt do that otherwise.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s