Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
exp 2
//'main' method must be in a class 'Rextester'. //openjdk version '11.0.5' //pavithra 7060 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { Scanner in=new Scanner(System.in); String s=in.nextLine(); System.out.println(s); int a=in.nextInt(); System.out.println(a); float b=in.nextFloat(); System.out.println(b); } }
run
|
edit
|
history
|
help
0
Just numbers
Thread counter
Test processing time (loop vs. contains)
add static
Prime Factors
Java Lambda Expression Sample
Happy Numbers in Java
Sort arraylist bubble sort
Extracting Value from a String that contains key value pairs
Even Numbers