Created
May 3, 2020 14:07
-
-
Save Devcodpanda/cd5cf44473abe5440668d569fe1a29ce to your computer and use it in GitHub Desktop.
V2 (with float)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class IndianaJ { | |
public static void main(String[] args) { | |
String originalName = "Indiana Jones and the Last Crusade"; | |
boolean seen = true; | |
int publicationDate = 1989; | |
float movieRating = 8.2f; | |
System.out.println("Le nom du film en VO est " + originalName + "."); | |
if (seen) { | |
System.out.println("J'ai vu le film."); | |
} | |
else { | |
System.out.println("Je n'ai pas vu le film."); | |
} | |
System.out.println("Le film est sorti en salle en " + publicationDate + "."); | |
System.out.println("La note du film sur le site IMDB est " + movieRating + "."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment