From 39b720eda3a0d31586ecdfa1ce412075068cf99b Mon Sep 17 00:00:00 2001 From: Christopher Fremond <34804391+Frenchris@users.noreply.github.com> Date: Thu, 24 Oct 2019 04:40:57 +0100 Subject: [PATCH] Update nruneprog.en.md --- subjects/nruneprog.en.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/subjects/nruneprog.en.md b/subjects/nruneprog.en.md index a12a82bb..cfbe1966 100644 --- a/subjects/nruneprog.en.md +++ b/subjects/nruneprog.en.md @@ -1,4 +1,15 @@ -## nrune +## nruneprog + +##**WARNING! VERY IMPORTANT!** + +For this exercise a function will be tested **with the exam own main**. However the student **still needs** to submit a structured program: + +This means that: + +- The package needs to be named `package main`. +- The submitted code needs one declared function main(```func main()```) even if empty. +- The function main declared needs to **also pass** the `Restrictions Checker`(illegal functions tester). It is advised for the student to just empty the function main after its own testings are done. +- Every other rules are obviously the same than for a `program`. ### Instructions @@ -11,7 +22,3 @@ func NRune(s string, n int) rune { } ``` - -### Note - -Remember to submit a main function testing the function \ No newline at end of file