Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
or You Over the hill
//Are you over the hill //'main' method must be in a class 'Rextester'. import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { String personName = "LuisT"; int personAvg = 71; String howIsHe = ""; if (personAvg>=40) { howIsHe = "over the hill"; }else{ howIsHe ="still young"; } System.out.println(personName + " is " + howIsHe); } }
run
|
edit
|
history
|
help
0
ex25
2.C
calc exp nha
Problem: rstring
4pr
Binary Tree ZigZag Traversal
Java Class and Object
Granite Java
4th question
add