|
|
for (int i=0;i<5;++i)
loops are missing curly braces.(i==Mascota)
is true there is no way to stop the loop since i
never change.=
instead of ==
(line 69/74), but again: A loop doesn't make sense if the condition never changes.break;
is required after each case
, otherwise the following case is also involved.