Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
ok
//'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[]) { Scanner s1=new Scanner(System.in); double length=s1.nextDouble(); System.out.println("length "+ length); double breadth=s1.nextDouble(); System.out.println("breadth "+ breadth); int area=(int)(length*breadth); System.out.println("area" + area); } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
1b
JAVA # MEVSİMLER
Car Sensors
1a
Elevator Sim
motifCatur
Most views runner!
Compiler
MyBankAppFinal
Job and Trait Generator
Please log in to post a comment.