Skip to content

An assignment done in 2022 looking at custom responses done with if-else and case statements

Notifications You must be signed in to change notification settings

whi-ming/Exploring-if-else_and_cases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

assignment 2 comp-248 winter 2022

In this project I explore how to use if else statements and cases, to custom different outputs depending on the user's input.

The first projects consists of a list of numbered Covid symptoms. The user will choose which level of symptoms apply to them and the program will output the recommended action the user should take.

The second program requires the user to state the day of the week and time for the program to assign certain variables to a function Z. I don't really understand the purpose either...but it was a good excuse to explore cases and default options.

About

An assignment done in 2022 looking at custom responses done with if-else and case statements

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages