Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Secretsentence
package fr.wildschool.secretsentence;
public class SecretSentence {
public static String writeSecretSentence(String s1, String s2){
String phrase = s1 + " s'incline devant " + s2;
return phrase;
}
public static void main(String[] args) {
String s1 = "le chat";
String s2 = "la lune";
String result = writeSecretSentence(s1, s2);
System.out.println(result);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment