cambiala incodice:scanf("%c", &sc);
codice:char buffer[80]; gets(buffer); // o // fgets(buffer,80,stdout); if (buffer[0] == '1') //... //... //... while (buffer[0]); // o // while(buffer[0] != '\n');
cambiala incodice:scanf("%c", &sc);
codice:char buffer[80]; gets(buffer); // o // fgets(buffer,80,stdout); if (buffer[0] == '1') //... //... //... while (buffer[0]); // o // while(buffer[0] != '\n');