From c485bfd063f09e07b132e3ad1e9984add4ff5384 Mon Sep 17 00:00:00 2001 From: Vieira Date: Tue, 16 Nov 2021 14:55:36 +0100 Subject: [PATCH] Controle --- APL1.1/CM1/Feston | Bin 0 -> 16200 bytes APL1.1/CM1/Feston.c | 19 +++++++++++++++++++ APL1.1/CM1/Flopée | Bin 16088 -> 16088 bytes APL1.1/CM1/Flopée.c | 10 +++++++--- APL1.1/CM1/Format | Bin 16088 -> 16088 bytes APL1.1/CM1/Format.c | 5 +---- 6 files changed, 27 insertions(+), 7 deletions(-) create mode 100755 APL1.1/CM1/Feston create mode 100644 APL1.1/CM1/Feston.c diff --git a/APL1.1/CM1/Feston b/APL1.1/CM1/Feston new file mode 100755 index 0000000000000000000000000000000000000000..13a63e03e8fcfaa09fa4a762cf102473a2bfc5a4 GIT binary patch literal 16200 zcmeHOYit}>6~4QU6Q_;WPGW~`LgP)ENKS({cIp_H%4Bx^$ZXlX?Icy3jMuwsd)4)> z*_|zRLBW;ls4LeHfvW!LANWCw5Rj@ult;lKQIbj^9H>xQgknXlaOeX!ZIA;^hI8(m zv!0#UJc@(_nk&tI_k8DZ@0__azT>&~%kAL~x638Cl!(s?l)5WTMj^$8Pg4az5zV3; ze%Fh;#Zr)$NY2zNCV1ta$m5&ae`r?5j%7zLdN`jw)B zWIL8pKNwkGXwQevP<-;YfL=6!!f5rwuFTX)wU}us#v_!MZbJ4$5&h=KZ;t#Jr>Q+g z&L`#sk7ha#J1U^VqR3w%?0!S!XU8_OXT&zJ9DGZUeVq38kzbilh7opbG-<)e?d=CY zy0m2RkAW}q0cvlt>)@sQGg5lRwq&BGsc~B}R+mhqazk}P%}sSpjs9%fzg;$r{i=rp z$JDMpUBW#gCXr)*mv9xyZj!-77PPH`1JjQFwOiXgsi&WKa6|gw=BK`Yx$*E9T@7f1 z=YcWN1`Bd{a6ug(%>6643XJfummVN|b`oT4VrJF0$;9Jv5aEJG(I=y8 z1Cc~Zpp4hEN$d)Tg00$ie`BGx-M>RFi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ug|&vX*jc-`-F5=jRXmu)h^~?6D2v5pJIb96pEfosj#(&(Gz+ao?d@DBU!0KW7Wh X?Xn?Ge;4xq4*p?+vc~3M6UE;FT4>Q2 literal 0 HcmV?d00001 diff --git a/APL1.1/CM1/Feston.c b/APL1.1/CM1/Feston.c new file mode 100644 index 0000000..f2f52e7 --- /dev/null +++ b/APL1.1/CM1/Feston.c @@ -0,0 +1,19 @@ +#include +#include + +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; +} \ No newline at end of file diff --git a/APL1.1/CM1/Flopée b/APL1.1/CM1/Flopée index 37bec62b5000d9eb6e21f63871585c627f171cca..22d0956bdbc2cc2f27207112ccfeff5e8ce799cd 100755 GIT binary patch delta 299 zcmcand!u#(2P3B_69X8CZWd%LXA+T~>vtfD>(v+Y3IF|12AJ%aXq@|T^Bm?~JRHjy z85lfzdG#m92|Ts^0n*c0`{)13S=RM>-L60Q*B|H(1(Jt4UH^2u{^>mC(aSo652&N_ z_zsZT7u)~+|KIHTgYosr36l#1B~`t37#JMGJUg#BhI)2>bqsOr{1fWYt7`)k4))Rf z>(Ts%`mnwWpp{>MXh~+x(_{^Bm?~JRH*) z85lfzdF3a^2|U&P1Jd(aw%hej=P{37)^&V9xz6J|K%y_s{`>#G+4T=&W9=V1Cw_*y zTaz0EB~_z!7#JMGJUg#BhI)2>bqsOr{1fWYtLp<44))Rf>(Ts%{=4GqoVdnsHU4Xa-h!0FYsNl}} z;=}*{teX{uZu3ljp=-hPLvXW_o*fI*2f@inMsYyyZw7#k*M8mBYbZN6x%&d#`X V@=q&$t{;LxBY*&?!N__UGXRp)V*>yH diff --git a/APL1.1/CM1/Flopée.c b/APL1.1/CM1/Flopée.c index 9318181..2a40752 100644 --- a/APL1.1/CM1/Flopée.c +++ b/APL1.1/CM1/Flopée.c @@ -2,9 +2,13 @@ #include 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; } \ No newline at end of file diff --git a/APL1.1/CM1/Format b/APL1.1/CM1/Format index c51848c50e3e04290f1f46aaea7c12f273d450c3..c760c39dd9c49e95295f5ced6971b08d0f862776 100755 GIT binary patch delta 560 zcmcand!u#(2P0=H69X8eP8MX;=d@si@GLfaGU_u5YA8UsaC&kl(|?hJCj8E)cQtRB z^!wc9v)wBq4!pa53Lkg)lq H^>Zcwl^?IF delta 608 zcmcand!u#(2P5ZHCI&E=I$4lWpHqVo!qeF7$*9jLD5C)3!s*GKO#elGx3P6QET75z zne*16tlXa5maCB$H_u_-#lxWnG|Z!ycm3ozfv5Ff9D$mTyZ!)CpZNt?5AuO%LDxUW zTt7Q@yMF0B=F!VK11RXxd3*=Ro)_Ey{r}Iu&-F7{rU_YQE>I?o|NY6&{87Gt(meR< zP5_C#13&{3p~^rGe^CZh*6sQOtiRq5*??Gx0hfRVgn|vY05d=l*#I-3GO$}t9!}Ha zmu~?%i-BL>1>|zMUyk8Ey|$;d85kVHJUg#BhI)2>bqsOr{1fWYtGfp%9PFd{*Q5Cj z$BX@c|Nq}CD72q-;k&cVO{bS^^;5IanMsNl|;0W^bkbD_{_p2;tCEf_mCE9%uVGpbBpXjslD zGg;Eeov~qZqES3!$K-=X%b5g(CTAI^F`n3b(O8|G(RK1qD}BxmA&?~u3>}jVt=)lo fEG^_G&#)HYL?nxi*5;f63SdPH0h>QsKW72}AL!04 diff --git a/APL1.1/CM1/Format.c b/APL1.1/CM1/Format.c index d0d8dbb..476d621 100644 --- a/APL1.1/CM1/Format.c +++ b/APL1.1/CM1/Format.c @@ -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; } \ No newline at end of file