diff options
| author | Cabergs Charles <cacharle@e-r6-p7.s19.be> | 2019-07-24 18:57:19 +0200 |
|---|---|---|
| committer | Cabergs Charles <cacharle@e-r6-p7.s19.be> | 2019-07-24 18:57:19 +0200 |
| commit | ad9867052d496f2c2a7f120a512208fb4dd4e787 (patch) | |
| tree | 319a76f0e87b041818156f2d1dfbbc6a7dfacf06 /exam02/subjects/0-0-aff_a/subject.en.txt | |
| parent | 79e6c8152252bac1cd632e224ac496a1823da1a5 (diff) | |
| download | piscine-ad9867052d496f2c2a7f120a512208fb4dd4e787.tar.gz piscine-ad9867052d496f2c2a7f120a512208fb4dd4e787.tar.bz2 piscine-ad9867052d496f2c2a7f120a512208fb4dd4e787.zip | |
exam02
Diffstat (limited to 'exam02/subjects/0-0-aff_a/subject.en.txt')
| -rw-r--r-- | exam02/subjects/0-0-aff_a/subject.en.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/exam02/subjects/0-0-aff_a/subject.en.txt b/exam02/subjects/0-0-aff_a/subject.en.txt new file mode 100644 index 0000000..c8863b4 --- /dev/null +++ b/exam02/subjects/0-0-aff_a/subject.en.txt @@ -0,0 +1,20 @@ +Assignment name : aff_a +Expected files : aff_a.c +Allowed functions: write +-------------------------------------------------------------------------------- + +Write a program that takes a string, and displays the first 'a' character it +encounters in it, followed by a newline. If there are no 'a' characters in the +string, the program diplays 'a' followed by a newline. If the number of parameters is not +1, the program displays 'a' followed by a newline. + +Example: + +$> ./aff_a "abc" | cat -e +a$ +$> ./aff_a "RaInB0w d4Sh!" | cat -e +a$ +$> ./aff_a "ThE Ck3 Is L|3" | cat -e +a$ +$> ./aff_a | cat -e +a$ |
