what line of code would i use if i for example have specified what my program does with an "if...blah blah do this" and now i want "if...anything else *error messege*
basically-there are prerequisite inputs, and if anything else is typed in error msg...
does anyone know what i am talking about?
what line of code would that "if anything else" would be?
if (<statement>) {
<code>;
}
elseif (<statement>) {
<code>;
...
else { //This is the statement you want, it will be an everything "else"
<code>; //condition
}