Answer:
A switch statement is a set of different outputs depending on the number of criteria asked to follow.
Given an integer number as a variable status, the algorithm would state as the following:
int num
switch (num) {
case 200:
printf(OK);
break;
case 403:
printf(Fobidden);
break;
case 404:
printf(Not Found);
break;
case 500:
printf(Server Error);
break;
default:
printf(Not a proper value);
break;
}
Depends on the value of hte variable "num", it will fall in one of the options above. If the variable has a different value that doesn't fit in any of the options above, it will prompt the default message.
When a program lets the user know that an invalid choice has been made, this is known as a error message.
The keyboard shortcut can you use to access the go to feature, which will allow you to move quickly to another location in the document is Ctrl+G or F5.
<h3>What is a keyboard shortcut?</h3>
Keyboard shortcuts are known to be keys or a set of combination of keys that a person can press on one's keyboard to carry out a specified tasks.
By using keyboard shortcuts , one is often often faster than using a mouse and to see the option you are looking for, you have to press Ctrl+G or F5.
Learn more about keyboard shortcut from
brainly.com/question/12531147