Common Computer Science References
At the end of this lesson, you will be able to:
understand and use an select case statement
if ... then ... elseif... else statements
go over Select Case , Computer Based Problem Solving
nil
create the "Month" program
accept an integer from 1 to 12
display the month of the year that represents that number
ex: 3 -> print "March"
use and "else" if the number is not 1 of the asked for
python >3.10 now has select ... case!
draw the flowchart and pseudocode like a select case statement
no need to do all 12 of them, do the first 2, then place "..." and do the last one and then the else
recreate the same above program in C, but use a switch statement
NOTE: You can turn on "Closed Captions" to see a printout of what is being said by selecting the "CC" button.
You can also have it translate the closed captions by going to "Settings, Subtitles/CC, Auto-translate" and then pick your prefered language.