Hey there! Here is my video tutorial (in Spanish) for Masteries 15 & 16:
This post is for mastery points 15 and 16: So this time it is about conditional if and using else with a conditional As you may know, an if statement is a fairly simple conditional, yet you can do very interesting things with it. It’s different from a for cycle because with the if condition […]
These are Masteries #15 and #16. I had to use if and else. I used as example the WSQ about the temperature. So, enjoy: https://youtu.be/amSjZHQpKJs
If we want to do an If / Else, we have to decide what parameters we are going to use. For example we want to say that n(number)>50 or n(number)<50 we use an If/Else Now that we have the If/Else we ask to the user for a number for make the If/Else The result is…
If we want to do an If / Else, we have to decide what parameters we are going to use. For example we want to say that n(number)>50 or n(number)<50 we use an If/Else Now that we have the If/Else we ask to the user for a number for make the If/Else The result is…
Description: Use of the conditional “if” and use of “else” with a conditional. A conditional and conditionals within conditionals. What we’d expect at this level already, really. In all seriousness, conditionals are very useful to check wheteher statements are true or not. Video for both masteries here.
Description: Use of the conditional “if” and use of “else” with a conditional. A conditional and conditionals within conditionals. What we’d expect at this level already, really. In all seriousness, conditionals are very useful to check wheteher statements are true or not. Video for both masteries here.
Hi, I created a program that shows the user the seasonal fruits by entering the number of the month. I done it in Spanish because I just do not want to translate every single name of every fruit. Here an image: And the main code, as usual: https://github.com/hrglez/TC1017/blob/master/Fruits Have a great month.
Hi, I created a program that shows the user the seasonal fruits by entering the number of the month. I done it in Spanish because I just do not want to translate every single name of every fruit. Here an image: And the main code, as usual: https://github.com/hrglez/TC1017/blob/master/Fruits Have a great month.
Mastery 15. Use of the conditional “if”… Mastery 16. Use of “else” with a conditional… And here my video: