Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can multiple if-statements work too? #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alisha58
Copy link

I'm sorry, I don't know how else to reach out to you about this question, and I figured this may be the best way. For challenge 3, why is it possible to do multiple if-statements? I've tried to run it, and it does not work (there is no output, just a blank), and I was wondering why. Can you explain?

Note: if I assign a value less than 10 for the variable x (i.e. I make the first if-statement true), an output shows. However, any value that makes the other if-statements true (i.e. a value between 10-25 that makes the 2nd if-statement true, or a value greater than 25 that makes the 3rd if-statement true), no output shows. Again, can you explain?

I'm sorry, I don't know how else to reach out to you about this question, and I figured this may be the best way. For challenge 3, why is it possible to do multiple if-statements? I've tried to run it, and it does not work (there is no output, just a blank), and I was wondering why. Can you explain?
Note: if I assign a value less than 10 for the variable x (i.e. I make the first if-statement true), an output shows. However, any value that makes the other if-statements true (i.e. a value between 10-25 that makes the 2nd if-statement true, or a value greater than 25 that makes the 3rd if-statement true), no output shows. Again, can you explain?
@calthoff
Copy link
Owner

Hello! Please email me at [email protected] and send me a Git gist or a video of what you are trying to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants