explain the significance of default label in switch statement
Answers
Answered by
3
Answer:
In case statements if a user chooses number 5 but there are only 4 cases then the choice will be invalid. The purpose of the default statement is that if the user chooses a number other than the required number the default statement will execute the its statement
Explanation:
please mark it as the brainliest
Answered by
1
Answer:
bahshsnbs a. a babbab
Explanation:
hJzjjajjajs. snsjxjgg. bhjjjojb. b
Similar questions