aboutsummaryrefslogtreecommitdiff
path: root/exam_final/subjects/2-0-aff_last_param/subject.en.txt
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-07-26 23:17:36 +0200
committerCharles <sircharlesaze@gmail.com>2019-07-26 23:17:36 +0200
commit264ae2f047a53ffac92271e4609038d17605738e (patch)
tree480c68814f822439850029df0e0249a2cafb8177 /exam_final/subjects/2-0-aff_last_param/subject.en.txt
parentad9867052d496f2c2a7f120a512208fb4dd4e787 (diff)
downloadpiscine-264ae2f047a53ffac92271e4609038d17605738e.tar.gz
piscine-264ae2f047a53ffac92271e4609038d17605738e.tar.bz2
piscine-264ae2f047a53ffac92271e4609038d17605738e.zip
exam final
Diffstat (limited to 'exam_final/subjects/2-0-aff_last_param/subject.en.txt')
-rw-r--r--exam_final/subjects/2-0-aff_last_param/subject.en.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/exam_final/subjects/2-0-aff_last_param/subject.en.txt b/exam_final/subjects/2-0-aff_last_param/subject.en.txt
new file mode 100644
index 0000000..847abfe
--- /dev/null
+++ b/exam_final/subjects/2-0-aff_last_param/subject.en.txt
@@ -0,0 +1,18 @@
+Assignment name : aff_last_param
+Expected files : aff_last_param.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Write a program that takes strings as arguments, and displays its last
+argument followed by a newline.
+
+If the number of arguments is less than 1, the program displays a newline.
+
+Examples:
+
+$> ./aff_last_param "Zelda" "is" "a" "boy" | cat -e
+boy$
+$> ./aff_last_param "I read this on internet !" | cat -e
+I read this on internet !$
+$> ./aff_last_param | cat -e
+$