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
even to 100
Simple String Reverse
program
4.C
some string reverse in java
Main.java
Neeraj
java
test1
Star