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

Syllogisms

If you’re Robert Nunez, then you’re an otaku.

If you’re an otaku, then you watch anime.

If Robert Nunez is an otaku and otakus watch anime, then Robert Nunez watches anime

If otakus watch anime and you’re Robert Nunez, then you watch anime.

 

If you cross dress in Spain, then you’ll get executed.

If you get executed, that means that you committed a crime.

If you cross dress in Spain and you get executed, then that means when you cross-dress, you’re committing a crime.

 

**Conditionals and Converses

If it’s one of her favorite activities to do, then Crystal likes dancing.

If Crystal likes dancing, then it’s one of her favorite activities to do.

Not true: Someone can like dancing but it doesn’t necessarily mean that it’s their favorite activity to do.

If there’s a hurricane, then the store is closed.

If the store is closed, then there’s a hurricane.

Not true: The store could’ve been closed because it needed repairs.

If there’s snowfall, then snowflakes are going to fall

If snowflakes are going to fall, that means there’s snowfall

True: If it snows, it’s called snowfall because snow falls as precipitation from the sky when the temperature outside is low enough.