Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
nested
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 import java.util.*; import java.lang.*; class Rextester { public static void main(String[] args) { int age=20; int weight=80; if(age>=18){ if(weight>50){ System.out.println("you are eligible to donate blood"); } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Sample for https://stackoverflow.com/a/49984959/4216641
Armstrong number
Word pattern
Leetcode 17. Letter Combinations of a Phone Number
Ways to form Max Heap
calc exp
Problem_fib
Hi
parameter const
Product of Array Except Self
Please log in to post a comment.