codice:
cout << "Lauree conseguite: ";
int first = 0;
if (g1 > 0) { if( !first ) cout<<","; first++; cout << "Economia e Commercio";  }

...