Skip to content

Conversation

@overpino
Copy link

@overpino overpino commented Nov 4, 2025

nuova pull request dopo aver cancellato il vecchio branch 'ex1'.

break;

case 7:
cout << "Sunday" << endl;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

endl è ridondante, potresti scriverlo dopo lo switch case e rimuoverlo da tutti i cases
Inoltre, potresti spostare l'implementazione dello switch case in una funzioone a parte in modo da non riempire troppo la funzione main

break;
}

return 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

potresti usare return EXIT_SUCCESS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants