jfnjfj
This commit is contained in:
parent
1c467cd9cd
commit
6828f16e48
8
DEV1.1/essai_ctrl_m/chouette.c
Normal file
8
DEV1.1/essai_ctrl_m/chouette.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void){
|
||||
printf("{o,o}\n");
|
||||
printf("(__(\\\n");
|
||||
printf("-\"-\"-\n");
|
||||
}
|
21
DEV1.1/essai_ctrl_m/coincid.c
Normal file
21
DEV1.1/essai_ctrl_m/coincid.c
Normal file
@ -0,0 +1,21 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main (void){
|
||||
int i;
|
||||
int entier[4];
|
||||
int occurrences=0;
|
||||
for(i=0;i<5;i++){
|
||||
printf("Jet n°%d : ", i+1);
|
||||
scanf(" %d", &entier[i]);
|
||||
if(entier[i]>6 || entier[i]<1){
|
||||
printf(" Veuillez entrer un entier entre 1 et 6\n");
|
||||
scanf(" %d", &entier[i]);
|
||||
}
|
||||
}
|
||||
for(i=0;i<5;i++){
|
||||
if(entier[i]!=entier[i]
|
||||
}
|
||||
printf("Occurences maximum : ", occurrences);
|
||||
}
|
||||
|
9
DEV1.1/essai_ctrl_m/corresp.c
Normal file
9
DEV1.1/essai_ctrl_m/corresp.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
printf("%d\n", 58);
|
||||
printf("%o\n", 72);
|
||||
printf("%x\n", 0x3a);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Loading…
Reference in New Issue
Block a user