aboutsummaryrefslogtreecommitdiff
path: root/exam02/subjects/3-0-inter/subject.en.txt
diff options
context:
space:
mode:
authorCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-24 18:57:19 +0200
committerCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-24 18:57:19 +0200
commitad9867052d496f2c2a7f120a512208fb4dd4e787 (patch)
tree319a76f0e87b041818156f2d1dfbbc6a7dfacf06 /exam02/subjects/3-0-inter/subject.en.txt
parent79e6c8152252bac1cd632e224ac496a1823da1a5 (diff)
downloadpiscine-ad9867052d496f2c2a7f120a512208fb4dd4e787.tar.gz
piscine-ad9867052d496f2c2a7f120a512208fb4dd4e787.tar.bz2
piscine-ad9867052d496f2c2a7f120a512208fb4dd4e787.zip
exam02
Diffstat (limited to 'exam02/subjects/3-0-inter/subject.en.txt')
-rw-r--r--exam02/subjects/3-0-inter/subject.en.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/exam02/subjects/3-0-inter/subject.en.txt b/exam02/subjects/3-0-inter/subject.en.txt
new file mode 100644
index 0000000..7259b8b
--- /dev/null
+++ b/exam02/subjects/3-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
+$