>>11556747I don't know that language but maybe after each case there should be a colon instead of a semi-colon, and why the difference in indentation between the if and the code that comes after, and why is numeroDel being used as a formal argument in the declaration of the "elijeNacion" function and in the switch case, it just doesn't make sense.
Maybe you called the function "elijeNacion", in such a case, you shouldn't use the int before the numeroDel, it should be elijeNacion(numeroDel), and if you were defining a function then you should open braces after the function prototype as in:
string elijeNacion (int numeroDel) {
...
}
Yes I think that might be the problem with the addition of the case, and if I'm not mistaken the syntax should be something like case 1: instead of case (1): but I can't say for sure. Though I imagine that both are actually valid since well parentheses is just grouping