if (condition1 && condition2) {
// write code here to do something if both conditions are true
}
if (condition1 || condition2) {
// write code here to do something if either condition is true
}
if (!condition) {
// write code here to do something if the condition is false
}