diff --git a/subjects/fixthemain.en.md b/subjects/fixthemain.en.md index bcef95a7..fab6b377 100644 --- a/subjects/fixthemain.en.md +++ b/subjects/fixthemain.en.md @@ -2,9 +2,9 @@ ### Instructions -Write and fix the following program. +Fix the following program. -### Expected functions +### Program to fix ```go package piscine @@ -17,18 +17,18 @@ func PrintStr(str string) { } func CloseDoor(ptrDoor *Door) bool { - PrintStr("Door closing...") + PrintStr("Door Closing...") state = CLOSE return true } func IsDoorOpen(Door Door) { - PrintStr("Door is open ?") + PrintStr("is the Door opened ?") return Door.state = OPEN } func IsDoorClose(ptrDoor *Door) bool { - PrintStr("Door is close ?") + PrintStr("is the Door closed ?") } func main() { @@ -45,4 +45,4 @@ func main() { CloseDoor(door) } } -``` \ No newline at end of file +``` diff --git a/subjects/fixthemain.fr.md b/subjects/fixthemain.fr.md index bcef95a7..8d7b97c0 100644 --- a/subjects/fixthemain.fr.md +++ b/subjects/fixthemain.fr.md @@ -2,9 +2,9 @@ ### Instructions -Write and fix the following program. +Réparer le programme ci-dessous. -### Expected functions +### Programme à réparer ```go package piscine @@ -17,18 +17,18 @@ func PrintStr(str string) { } func CloseDoor(ptrDoor *Door) bool { - PrintStr("Door closing...") + PrintStr("Door Closing...") state = CLOSE return true } func IsDoorOpen(Door Door) { - PrintStr("Door is open ?") + PrintStr("is the Door opened ?") return Door.state = OPEN } func IsDoorClose(ptrDoor *Door) bool { - PrintStr("Door is close ?") + PrintStr("is the Door closed ?") } func main() { @@ -45,4 +45,4 @@ func main() { CloseDoor(door) } } -``` \ No newline at end of file +``` diff --git a/subjects/pilot.en.md b/subjects/pilot.en.md index 1aa95a38..8e3aeee0 100644 --- a/subjects/pilot.en.md +++ b/subjects/pilot.en.md @@ -2,7 +2,7 @@ ### Instructions -Write a go file so that the following program compile +Write a `go` file so that the following program compiles. ### Usage diff --git a/subjects/pilot.fr.md b/subjects/pilot.fr.md index 1aa95a38..0660cb33 100644 --- a/subjects/pilot.fr.md +++ b/subjects/pilot.fr.md @@ -2,9 +2,9 @@ ### Instructions -Write a go file so that the following program compile +Écrire un fichier `go` de manière à ce que le programme ci-dessous compile. -### Usage +### Utilisation ```go package main