(Italiano) Esercizi sull’ IF

Sorry, this entry is only available in Italian.

This entry was posted in Senza categoria. Bookmark the permalink.

2 Responses to (Italiano) Esercizi sull’ IF

  1. Lien Gianola says:

    Nell’esercizio 4, se scrivo questo
    int n,s;
    cin>>s;
    switch (n) {
    case 05:
    s=10;
    break;
    case 6>10:
    s=20;
    break;
    default:
    s=30;
    break;
    }
    mi da errore “duplicate case value” selezionando questo comando “case 6>10:” .
    Come posso sistemarlo?

Leave a Reply

Your email address will not be published. Required fields are marked *