Question 30 Using the snippet of code below, what time is it? hour = 11; if (hour <= 10) { message = "Time for breakf
Posted: Fri Jul 08, 2022 7:27 am
Question 30 Using the snippet of code below, what time is it? hour = 11; if (hour <= 10) { message = "Time for breakfast."; } else if (hour <= 14) { message = "Time for lunch."; } else if (hour <= 20){ message = "Time for dinner."; } else { message = "Time for a snack."; } O Time for a snack. O Time for breakfast. Time for dinner. Time for lunch.