Print the Day of the Week

# Introduction In this lab, we need to write a program that takes an input integer, `num`, and prints the corresponding day of the week based on the following criteria: if `num` is 1, print 'Monday'; if `num` is 2, print 'Tuesday'; if `num` is 3, print 'Wednesday'; if `num` is 4, print 'Thursday'; if `num` is 5, print 'Friday'; if `num` is 6, print 'Saturday'; and if `num` is 7, print 'Sunday'.

|
60 : 00

Click the virtual machine below to start practicing