Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun main() {
- var calorias: Int = 100
- if (calorias>100){
- println("you eat to much")
- } else if (calorias == 100){
- println("you can each junk") // you can make a chain of "else if" it always have to end with "else"
- } else {
- println("you are dead")
- }
- // next, "understanding the truth table" that the one I need to watch next.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement