Dagobah Posted September 28, 2020 Share Posted September 28, 2020 Hello in programming when you use a condition you can use && and || to represent And and Or how can i use this same operations but with Conditional Branchs??? ejemp: Conditional Branch (variable = true && var2 = "hello"){ Do this }else{ Do other thing }  if i haven't exlpain well please let me know  Link to comment Share on other sites More sharing options...
1 Beefy Kasplant Posted September 28, 2020 Share Posted September 28, 2020 Nesting conditional branches  If X is true     If Y is true     Else Else Link to comment Share on other sites More sharing options...
Question
Dagobah
Hello in programming when you use a condition you can use && and || to represent And and Or how can i use this same operations but with Conditional Branchs???
ejemp: Conditional Branch (variable = true && var2 = "hello"){
Do this
}else{
Do other thing
}
Â
if i haven't exlpain well please let me know
Â
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now