Module 6: Workshop Activity - CodeWorkout

Score: 0 / 8.0

if statements and return, switch statement


Exercises

0 / 4.0

Write a function in Java that implements the following logic: Your cell phone rings. Return true if you should answer it. Normally you...

0 / 4.0

Given a day number (1-7), return the day of the week ("Sunday", "Monday", etc.). If an invalid day number is provided, return "Invalid".

...