Browse Source

Update swapprog.en.md

pull/314/head
Christopher Fremond 5 years ago
parent
commit
7730b6ed48
  1. 17
      subjects/swapprog.en.md

17
subjects/swapprog.en.md

@ -1,4 +1,15 @@
## swap
## swapprog
##**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 Swap(a *int, b *int) {
}
```
### Note
Remember to submit a main function testing the function
Loading…
Cancel
Save