Browse Source

docs: fix formatting and add details for edge cases

pull/2511/head
zanninso 2 months ago
parent
commit
43a519d090
  1. 7
      subjects/java/checkpoints/universal-greeting/README.md

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

@ -4,10 +4,11 @@
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.
### Expected Functions ### Expected Functions
```java ```java

Loading…
Cancel
Save