lundi 15 juin 2020

Alternative while loop without break [closed]

    int number = 0;

   while (scanf("%d",&number)){

       if (sayi == 1 || sayi == 2){
           printf("Login succesful ");
           break;
       }


    }

How can I write this code without break?

Aucun commentaire:

Enregistrer un commentaire