Skip to content
Snippets Groups Projects
Commit 74c67ece authored by Slim Medimegh's avatar Slim Medimegh
Browse files

Modification procedure saisie examen

parent 5fbe49a5
Branches
No related tags found
No related merge requests found
#include<iostream>
using namespace std;
void saisie(int a){
while (a%3!=0){
cout<<"Tapez un entier ";
cin>>a;
}
while (a/4!=42){
cout<<"Tapez un entier ";
cin>>a;
}
cout<<"la saisie est bonne : " << a/4 <<endl;
}
int main()
{
int a;
saisie(a);
return 0;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment