update
This commit is contained in:
26
DEV.1.1/CM1/ex5.c
Normal file
26
DEV.1.1/CM1/ex5.c
Normal file
@@ -0,0 +1,26 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#define PORTA 5
|
||||
#define CROIS 4
|
||||
#define aCONTORP 3
|
||||
#define bCONTORP 3
|
||||
#define TORP 2
|
||||
|
||||
int main(void){
|
||||
int coord[10][10],x,y,i;
|
||||
|
||||
for(i=0;PORTA<0;PORTA){
|
||||
coord[1][i] = 1;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
while(coord[10][10]!= {0}){
|
||||
printf("Coordonées? ");
|
||||
scanf("%d %d",&x,&y);
|
||||
if(coord[]==x){
|
||||
if(y==)
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user