mirror of
https://github.com/dancojocaru2000/y3s2-cciot-hw.git
synced 2025-02-23 09:19:35 +02:00
Added forgotten default case
This commit is contained in:
parent
f41914efa9
commit
12f46ca7e7
1 changed files with 2 additions and 0 deletions
|
@ -279,6 +279,8 @@ int main() {
|
||||||
int removed = remove_alt5(students);
|
int removed = remove_alt5(students);
|
||||||
cout << "Removed " << removed << " student" << (removed == 1 ? "" : "s") << endl;
|
cout << "Removed " << removed << " student" << (removed == 1 ? "" : "s") << endl;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
cout << "Unknown choice!" << endl;
|
||||||
}
|
}
|
||||||
if (exit) {
|
if (exit) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue