Compare commits

...

2 Commits

Author SHA1 Message Date
zanninso d9e5e6b10e docs: fixing typos 2 months ago
zanninso f8d7684251 rename good-bye-mars exercise to goodby-mars 2 months ago
  1. 4
      subjects/java/checkpoints/goodbye-mars/README.md
  2. 6
      subjects/java/checkpoints/universal-greeting/README.md

4
subjects/java/checkpoints/good-bye-mars/README.md → subjects/java/checkpoints/goodbye-mars/README.md

@ -2,7 +2,7 @@
### Instructions ### Instructions
In a file named `GoodbyeMars.java` write a function `goodbyeMars` that returns the string 'Good bye Mars !'. In a file named `GoodbyeMars.java` write a function `goodbyeMars` that returns the string 'Goodbye Mars !'.
### Expected Functions ### Expected Functions
@ -31,6 +31,6 @@ and its output :
```shell ```shell
$ javac *.java -d build $ javac *.java -d build
$ java -cp build ExerciseRunner $ java -cp build ExerciseRunner
Good bye Mars ! Goodbye Mars !
$ $
``` ```

6
subjects/java/checkpoints/universal-greeting/README.md

@ -4,9 +4,9 @@
In a file named `UniversalGreeting.java` write a function `greeting` that takes a String language as a parameter and returns a greeting message based on the language as follows: In a file named `UniversalGreeting.java` write a function `greeting` that takes a String language as a parameter and returns a greeting message based on the language as follows:
`FR` : `Bonjour comment allez-vous?` `FR`: `Bonjour comment allez-vous?`
`EN`: `Hello, How are you?` `EN`: `Hello, How are you?`
`ES` : `Hola, cómo estás?` `ES`: `Hola, cómo estás?`
and return an empty string in any other case. and return an empty string in any other case.
@ -37,6 +37,6 @@ and its output :
```shell ```shell
$ javac *.java -d build $ javac *.java -d build
$ java -cp build ExerciseRunner $ java -cp build ExerciseRunner
Hello, How are you Hello, How are you?
$ $
``` ```

Loading…
Cancel
Save