Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AyatoKirishima authored Dec 7, 2021
1 parent d940715 commit 4af1147
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
Binary file modified TD3/ex5
Binary file not shown.
2 changes: 1 addition & 1 deletion TD3/ex5.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ int main(int argc, char const *argv[])
printf("Saisissez votre nom suivi de votre prénom : ");
res = scanf("%49s%49s", nom, prenom);
if (res == 2)
printf("Vous vous appelez %s %s, est-ce correct ?\n", prenom, nom);
printf("Très bien %s %s\n", prenom, nom);
else
printf("Vous avez fait une erreur lors de la saisie.\n");
}
11 changes: 11 additions & 0 deletions TD3/ex5_bis.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdbool.h>

int main(int argc, char const *argv[])
{
printf("Très bien\n");
}
Binary file added TD3/ex5bis
Binary file not shown.

0 comments on commit 4af1147

Please sign in to comment.