write two difference between if statement and switch statement
Answers
Answered by
3
an if statement is a programming functional statement that,if proved true , perform a function or proves true
a switch statement is a type of selection control mechanism used to allow a variable or expression to change control flow of program execution via a multiple branch
a switch statement is a type of selection control mechanism used to allow a variable or expression to change control flow of program execution via a multiple branch
Similar questions
World Languages,
8 months ago
Computer Science,
8 months ago
Math,
8 months ago
English,
1 year ago
History,
1 year ago
Science,
1 year ago