J'ai bien bossé
This commit is contained in:
Submodule DEV1.1/DEV deleted from 2946df4c38
@@ -1,10 +0,0 @@
|
|||||||
/* premier programme */
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
printf("Hello World!\n");
|
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
23
DEV1.1/TP03/numsecu.c
Normal file
23
DEV1.1/TP03/numsecu.c
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
int main(void) {
|
||||||
|
|
||||||
|
char b;
|
||||||
|
char m1;
|
||||||
|
char m2;
|
||||||
|
char a1;
|
||||||
|
char a2;
|
||||||
|
printf("numero_secu\n");
|
||||||
|
b = getchar();
|
||||||
|
a1 = getchar();
|
||||||
|
a2 = getchar();
|
||||||
|
m1 = getchar();
|
||||||
|
m2 = getchar();
|
||||||
|
|
||||||
|
|
||||||
|
printf("J'ai lu : %c%c/%c%c\n", a1,a2,m1,m2);
|
||||||
|
|
||||||
|
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
0
DEV1.1/TP03/numsecu.c:Zone.Identifier
Normal file
0
DEV1.1/TP03/numsecu.c:Zone.Identifier
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user