Controle
This commit is contained in:
parent
27f7820773
commit
c485bfd063
BIN
APL1.1/CM1/Feston
Executable file
BIN
APL1.1/CM1/Feston
Executable file
Binary file not shown.
19
APL1.1/CM1/Feston.c
Normal file
19
APL1.1/CM1/Feston.c
Normal 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.
@ -2,9 +2,13 @@
|
||||
#include <stdlib.h>
|
||||
int main(void){
|
||||
int i;
|
||||
int j = i*i*i
|
||||
for (i=0;i<;i++){
|
||||
printf("%d ",i);
|
||||
int j;
|
||||
for (i=0;i<9999999999999999;i++){
|
||||
if (j > 999999999 ){
|
||||
break;
|
||||
}
|
||||
j= i*i*i;
|
||||
printf ("%d\n",j);
|
||||
}
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Binary file not shown.
@ -3,14 +3,11 @@
|
||||
|
||||
int main(void) {
|
||||
unsigned int a = 65U;
|
||||
int b = 65;
|
||||
float c = 65.00;
|
||||
signed char d = 65;
|
||||
printf("%u\n", a);
|
||||
printf("%hhd\n", d);
|
||||
printf("%.0f\n", c);
|
||||
printf("%s\n", b);
|
||||
printf("%.0f\n", c);
|
||||
|
||||
printf("%s\n", 65.0);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Loading…
Reference in New Issue
Block a user