by Editorial | Jun 16, 2025 | Grade 11, Grade 12
Complex “if-then-else” statements are needed when there are many options e.g. consider all the options in a menu. Fortunately, there is a better way when a lot of options are needed i.e. the “Switch-Case-Break” construct. It works exactly the...
by Editorial | Feb 22, 2025 | Grade 11, Grade 11 - Date time, Grade 11 - Text Files, Teacher
Asks for your full name and ID number. Determines the time right now. It reformats the name. It reformats the date of birth from the ID number. It determines the gender from the ID number. It creates a single output String which it prints to both the monitor and an...