From 95be98b88e900d6545e83129111bfa8bcca42f0a Mon Sep 17 00:00:00 2001 From: Vieira Date: Tue, 26 Oct 2021 17:41:27 +0200 Subject: [PATCH] Controle --- APL1.1/CMB1/Distribution | Bin 0 -> 16336 bytes APL1.1/CMB1/Distribution.c | 37 +++++++++++++++++++++++++++++++++++++ APL1.1/CMB1/Histogramme | Bin 0 -> 16200 bytes APL1.1/CMB1/Histogramme.c | 15 +++++++++++++++ APL1.1/CMB1/Parité | Bin 0 -> 16248 bytes APL1.1/CMB1/Parité.c | 16 ++++++++++++++++ APL1.1/CMB1/Rapace | Bin 0 -> 16080 bytes APL1.1/CMB1/Rapace.C | 9 +++++++++ APL1.1/CMB1/Triage | Bin 0 -> 16088 bytes APL1.1/CMB1/Triage.c | 16 ++++++++++++++++ 10 files changed, 93 insertions(+) create mode 100755 APL1.1/CMB1/Distribution create mode 100644 APL1.1/CMB1/Distribution.c create mode 100755 APL1.1/CMB1/Histogramme create mode 100644 APL1.1/CMB1/Histogramme.c create mode 100755 APL1.1/CMB1/Parité create mode 100644 APL1.1/CMB1/Parité.c create mode 100755 APL1.1/CMB1/Rapace create mode 100644 APL1.1/CMB1/Rapace.C create mode 100755 APL1.1/CMB1/Triage create mode 100644 APL1.1/CMB1/Triage.c diff --git a/APL1.1/CMB1/Distribution b/APL1.1/CMB1/Distribution new file mode 100755 index 0000000000000000000000000000000000000000..349262e16f43cc5f5743a287cca8e354434d12a3 GIT binary patch literal 16336 zcmeHOZ*Wvs6~8ZkAlR}Akkl;{SP^DIHA{eiK_;@BWW!4*K!l{FTKe4VZpaSFZo2!n zh7LtKTQXhKXzB-T$9||^v>$Y=)X|QP(?x1CD5F8KBI0z1DdVPKn^NkeQh1(o-#N?M z$7by4j813X&Aj)!=XcLJ_uljFdwXBry}JW1F-P?= zay&66cr;T#?C66sOg?!Q!frQ0c6MwheMYPU)1HfZ_&=$yo9wDQ(v7fVlSvCkuJ7|; zhjIC^i7)eRs&B6A;HLO9Qh3F>!D!#+rg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^yRqb>;SYH`6%iAiS5b zpYUPAQ9`!o^`P6^+CJ;4hgHjKJ?qzd*LxdTVGhJNRfu;Cdohkn1xlW!KzT^v4!~0S zxURVrUk`klaEYv~z3};0@-sFbm%pMu-!CA_vxe?#goDXhO`{zs50)&9Bqm6d)Li`q}HhnrZ+&u?Y%l3UvOy7W^g?BgL%`h4HB z_iHk0{d0gdFrL5UBZA;};2*CG?*m## z{3`H+`aJ&G%1iz;v`$?9&khPV0*~#t>u&?z!^Rf8ANW-knX@m+_ON8ZU|+N$7S|)* z5Grp@U#zku+>ck!m|E{ZB;u zQhGEVlWp$U?cWj50z2C^SoL459~N5s{X6|TI@^j%wgw+>Quw!96C&ZD9t1bV+an70O|(IxKuCx7 z-4R8la@R!>1CfSG%>55gRqLJ^qo@YqO&%Q5gMEN{!o&g2!A6ltVpw?PklY_jd5076 z;YdP1XrcO2QP@`$4HM;W?QFn7>qYf}U~)is!v|wfg^7B?EO|JRNWz#Y5;Q1FL@;F$bEH1C1H!?uOb07@1ESVPOI5jOe4~~OF(Gb)c2VZdV$_h+p z5Ln@b+hqvu0?RG=-(+!K3AZ}@R+!06zx#|lucTtB%X!34!hv%+wr?hTMjw<}6VLOQ z+YA}2{Rr7J;`a+{;^!`NoshBG^Sp)8!-|AY|ryuMy`k3&w7l9 z!5-(*Ec1Mtv5{)Bx1Sp@4jGIo+w**$F-wYEzrFw8BKua-tH7ZO+w;D>vowLLMF_wX`)t=|MD%o>8?e+y3 zjL{djpXZHx$)4+BeXPrx7E=ABUMOOF``noAt;l1qU<{dIa@b7+4xhvL4$AG}=h_0` hxb2WFq$~|w-R7L@WksAmm$GmAjHz*l&A=v#e*yCr{Ko(Q literal 0 HcmV?d00001 diff --git a/APL1.1/CMB1/Distribution.c b/APL1.1/CMB1/Distribution.c new file mode 100644 index 0000000..b729596 --- /dev/null +++ b/APL1.1/CMB1/Distribution.c @@ -0,0 +1,37 @@ +#include +#include +#include +#define rangée 4 +#define billes 2 +int main(void){ + int proba = 1/(rangée*2); + int i,j,k,l; + int a[rangée+1] = {}; + srand(time(NULL)); + int var = rand()%rangée*2+1; + for (i=0;i<=billes-1;i++){ + if (var == 1 ){ + a[0] = a[0]+1; + } + if (var == rangée*2){ + a[rangée-1]=a[var-1]+1; + } + if (var != rangée || var != 1){ + if (var%2 != 0){ + a[var-1]= a[var-1]+1; + }else{ + a[var]=a[var]+1; + } + } + + } + + +for (k=0;kVUkl^DqvPo7uJ39#@+Oi5-GU7_WEN-i3X* zyR+0rDUDZYbsWsN@fa!^@Gh#^-Vkc`K*7NY#961 z00)k#j(y$2eO!zq$NnziDv{kJgNZC?TLTBC9sNH`{9sdJ{KB!R7j})9ka!kxiZZJU2bv9`^>Q)r!Cd$m|R7w=Ez^?0spZ)+->iFZYMQy8s3 zoy|}*%`{!m5PFUStPFn5foA?!ysef=Lg@n2UeN< zEIl8X7sNL!rk;70r}mgU-b>sUWTq{=d`_BXV#dN-@4s0Kzl>}V<}5t7jl5UEUm?&I z#}XHxV%CtSN021yEWCBRo7T>+lL03KP6nI|I2mv<;AFtbz^!KBZ&i1Fst*6TLLDuC zYpW3IiE-U+TvUf&t(cG@jh$D3Ha5Qlzg4vg)KE^K?&`DwW%Ju81p6UrzcYuh<%T*ktDd{IM?E)Jrn+8JFWt~uu z{;Jxiup45cZ@!NC!FX5u!L}P>Kw_1cI=WtQd@OQa%~_JIUq`f-YJr`5&t&#oI%V)j-Ca*(=Ay0Tdfd|85 zEic|HMBs4e$ZrGPog*Iyx&kBr=vK$-e+=}Y@RsX1hGu?p-7wU1*UR+U#^2HP36Fdj z9=X;w@?OBGxvUOPxYS*LDEtY>*O!k59u6E0JQC2XImGsGyu$$*oATg?D|hr06Zr-W;L*>3#iim#d8S;N3L{3Cz|03Z0k zFis)=p<$c>d>U{L5DR|8#NvA5pl}UVyVkESh zt6?aB!c*Pu@qVf5wy#zk7kk$2zGwTUjYy;K!*Kip{9i#L;Hf_8ZmnGEehFHDa6lb{ zqX+sHM}51e`kU@fkM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!=%= zH_x-Z6M5|9l^`=f4iy@3_#DP}M{W;4KUV_BZHH_=9ixFe=yJ~WvLa5Ci`ieoA0|j^ JTm~*t{2RRe#l!#r literal 0 HcmV?d00001 diff --git a/APL1.1/CMB1/Parité.c b/APL1.1/CMB1/Parité.c new file mode 100644 index 0000000..790a380 --- /dev/null +++ b/APL1.1/CMB1/Parité.c @@ -0,0 +1,16 @@ +#include +#include + +int main(void) { + int a,b; + printf("entrez le premier entier : "); + scanf("%d",&a); + printf("entrez le deuxieme entier : "); + scanf("%d",&a); + if (a%2==0 || b%2 == 0){ + printf("pair\n"); + }else{ + printf("impaire\n"); + } + return EXIT_SUCCESS; +} diff --git a/APL1.1/CMB1/Rapace b/APL1.1/CMB1/Rapace new file mode 100755 index 0000000000000000000000000000000000000000..1346fcffe98ba77f3d3c61e4f0e9273f59b53cb4 GIT binary patch literal 16080 zcmeHOU2Ggz6~4QU6Zgk!$BoN2Y2#@~=_aZtcA6NcmC3AsXRA$O{6nddbTr;w+bgYi z&F(C<%byj8sH+a<>>ba&U+RnZ2Ll1YsYZN4prkcA8jT7DKTa6{O>~NS z_}(q<6I(&vB6Uu=<^YsBX*pPlb)>HWL|zy(Rq$R%Ef~3lh{)S4HDZGxF$(Gj@@i!P zenBEVV=c9lk@e;J6v-08gAp`<#OUT>Q&wALu~_Y@M4jpzBxD|n$Xh4gI`J4+s6IxH zC&mOnofJQr{r)!isbwym-h_3r4Q*lfa{) zC5!h59^N6UZ?ka-Q~Vhzyy8G6J=SsPKqlFmNoR{Qtuvh+tsRHdLQXv>E5>%U!3XEm z!0}NLoD++vV}3vcD&!!^U?LOR?tl-59r>Dd_H6(D2UmZ2{<)`KJoV|}chrOJXoLMg zpJ;;#b@<_gW&B~?e}Xuzlq!bktEq~w&@7(ekKWO*JHccyQ{@^)Dc*EL<2d>yrIcM8@# z`W12z(VTL&XLl>^ZHt^mJ*;qE(mPJrCAgdU>BCN9!)V`}zrMj=?qnx&(;f zgC7Au0)7Pi2>223B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cBQ- zynZn;kH_(C(4h(Q`F!0nEu zmt`QMFK$1t-`a@J^{_qG^I2q={St$P9##ZA$f +#include + +int main(void) { + printf("{o,o}\n"); + printf("(__(\\ \n"); + printf("-\"-\"-\n"); +return EXIT_SUCCESS; +} diff --git a/APL1.1/CMB1/Triage b/APL1.1/CMB1/Triage new file mode 100755 index 0000000000000000000000000000000000000000..8d96230dd745d7f628cd5c73dd45e2c42b575401 GIT binary patch literal 16088 zcmeHOeQX>@6`woDiQC3^PMVaA1!rmOYc**-Ym znY%q|R|rC!hMtV6#XtO0L6MNCgpdMA6_kG*IZ9e2BtlW;QlVH;qPh@@X%gfD&GO#t zd*{8)x#B}YfOew2-^}m5-^}dW+4XF8=F3`7S1=F|oT|j91eVk~hf&G!_{S*&po&&e z3%^^${bD7QS4hsWs}6wGNwdLntRcP%5OopERKU#+Ef~3nh^SjGMX*DV7zLdN>Z;K| zWiRfdeloJX)SiN3NQ(R|VG}w)Vsz`UEAx%gEauzFQK$Bf60#19s9Pl6BIy|Cs69rG zC&mPiR*I(=Rj^@F<*yK4-6-k2*h&73*aoKK*Q~_9(%w8dW&1a*#Wy9F7COB|R z9X#A8f+xi^a;y)CfGpny9Ht{=46P;OxMTou^t~y1wHVffs-Eo6j}3 zqYs`3YS0H0a(Hk;8z0R5BX|IulnRbm*V+pFN0#BA0A8u!|Jh}D9Cr^^@E0SwRK^+* zh7lh%je%6gOsAenLJ_V*+{jyI&N7D0R7PMKFGGts*wfwKVeF3Xj_wmickdx1k<29r zQ+X?y>pj$w&SsLmW`7#%7#z-Ks1Cz%t>}o|3c^1JB|vNgVmoAcJQX&k;F1Q#9>-j| zulaszTH_cN=)Prsjw)zS9Xs<}p2Z6S3CB2I15R@;o^DZTns@Q;@vz|H<@1gzT6FR5 z`zWG14yyp@Rv?8Begymo_!00U;77oZfFA)r0{@Q@xDnp+7k&JCjXqKR<}M-hXQ!>8 z{Y!oPe9eqJU3=dZpzUo};Wu2bLJrGAXnSYQwr$im|Dn5h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w#{h59pGB`%*wlB?Rc^{?MpUaGwK^u1IdH%f62qYx-b4p8P z=6??c96Q`T&tG|8>>QpPBpm;kSjX4#CUEG&dfs0*OB1RF6uA=X8Q%w+TQ5{{ZgNne zA_MCfgCKV671i-nNYDNB>Pux1V_n>Tp2szjp4(x6Y|EW$seN)UnON_gBeUL(JoZXr z$mmqzEOiW@!}!j|{o&^VzAtm%AzMlc4cyJ1%DG*3#OZ7${U`Ac6Quh*0#8x=9ps}n A?*IS* literal 0 HcmV?d00001 diff --git a/APL1.1/CMB1/Triage.c b/APL1.1/CMB1/Triage.c new file mode 100644 index 0000000..a75d150 --- /dev/null +++ b/APL1.1/CMB1/Triage.c @@ -0,0 +1,16 @@ +#include +#include + +int main(void) { + float x = 2.0; + int y = 02; + long int z = 2L; + signed char w = '\0x32'; + int a = (float) x; + int b = (int) y; + int c = (long int) z; + int d = (unsigned char) w; + printf(" %d \n %d \n %d \n %c \n",a,b,c,d); + return EXIT_SUCCESS; +} +