Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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
Please
log in
to post a comment.
1.5
test1
age1
Problem: on_off
decToBin
Simple imitation for show banners on priorities
static
Remove punctuation except numbers, commas and spaces
Arredondamento de datas para dias 10, 20 e 30
4.a
stackse - search stackoverflow differently
Please log in to post a comment.