This commit is contained in:
Bekkouche Anis 2024-10-14 17:26:47 +02:00
parent 1c467cd9cd
commit 6828f16e48
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#include <stdio.h>
#include <stdlib.h>
int main(void){
printf("{o,o}\n");
printf("(__(\\\n");
printf("-\"-\"-\n");
}

View 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);
}

View 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;
}