aboutsummaryrefslogtreecommitdiff
path: root/0-0-inter/subject.en.txt
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-02-14 19:21:32 +0100
committerCharles <sircharlesaze@gmail.com>2020-02-14 19:21:32 +0100
commitb9a3fe5af32ebe91c2cc0346ec74844a06b2697f (patch)
tree24806cc7065e86ae7525b11e3727dfc98cf396c7 /0-0-inter/subject.en.txt
parent724b3b6a1620078a003a0507554886d7cdb27bde (diff)
downloadexam_rank_02-b9a3fe5af32ebe91c2cc0346ec74844a06b2697f.tar.gz
exam_rank_02-b9a3fe5af32ebe91c2cc0346ec74844a06b2697f.tar.bz2
exam_rank_02-b9a3fe5af32ebe91c2cc0346ec74844a06b2697f.zip
1st try
Diffstat (limited to '0-0-inter/subject.en.txt')
-rw-r--r--0-0-inter/subject.en.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/0-0-inter/subject.en.txt b/0-0-inter/subject.en.txt
new file mode 100644
index 0000000..7259b8b
--- /dev/null
+++ b/0-0-inter/subject.en.txt
@@ -0,0 +1,23 @@
+Assignment name : inter
+Expected files : inter.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Write a program that takes two strings and displays, without doubles, the
+characters that appear in both strings, in the order they appear in the first
+one.
+
+The display will be followed by a \n.
+
+If the number of arguments is not 2, the program displays \n.
+
+Examples:
+
+$>./inter "padinton" "paqefwtdjetyiytjneytjoeyjnejeyj" | cat -e
+padinto$
+$>./inter ddf6vewg64f gtwthgdwthdwfteewhrtag6h4ffdhsd | cat -e
+df6ewg4$
+$>./inter "nothing" "This sentence hides nothing" | cat -e
+nothig$
+$>./inter | cat -e
+$