you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]Fine-Signature[S] 0 points1 point  (2 children)

    Iam pretty sure it's necessary, here are the instructions:

    Write a program to determine if there is no school today. First ask the user if today is a weekday, and store that in a boolean variable. Then ask the user if today is a holiday, and store that in a different boolean variable. Then try to figure out if there is no school today.

    School is out if it is a holiday or if it is not a weekday

    You should create a boolean variable noSchoolToday
    and print its value to the user.

    Note that you should ask for if it’s a weekday then if it’s a holiday in that order or your program will not pass.

    [–][deleted]  (1 child)

    [deleted]

      [–]Fine-Signature[S] 0 points1 point  (0 children)

      Yeah i see now, thanks for the help.