This commit is contained in:
Vieira Enzo 2021-11-16 14:55:36 +01:00
parent 27f7820773
commit c485bfd063
6 changed files with 27 additions and 7 deletions

BIN
APL1.1/CM1/Feston Executable file

Binary file not shown.

19
APL1.1/CM1/Feston.c Normal file
View File

@ -0,0 +1,19 @@
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char * argv[]){
int matrice[10][20];
int i,j;
for (i=0;i<10;i++){
for(j=0;j<20;j++){
matrice[i][j]=1;
}
}
for (i=0;i<10;i++){
for(j=0;j<20;j++){
printf("%d",matrice[1][1]);
}printf("\n");
}
printf("\n");
return EXIT_SUCCESS;
}

Binary file not shown.

View File

@ -2,9 +2,13 @@
#include <stdlib.h> #include <stdlib.h>
int main(void){ int main(void){
int i; int i;
int j = i*i*i int j;
for (i=0;i<;i++){ for (i=0;i<9999999999999999;i++){
printf("%d ",i); if (j > 999999999 ){
break;
}
j= i*i*i;
printf ("%d\n",j);
} }
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }

Binary file not shown.

View File

@ -3,14 +3,11 @@
int main(void) { int main(void) {
unsigned int a = 65U; unsigned int a = 65U;
int b = 65;
float c = 65.00; float c = 65.00;
signed char d = 65; signed char d = 65;
printf("%u\n", a); printf("%u\n", a);
printf("%hhd\n", d); printf("%hhd\n", d);
printf("%.0f\n", c); printf("%.0f\n", c);
printf("%s\n", b); printf("%s\n", 65.0);
printf("%.0f\n", c);
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }