0

How to insert a two decimal place input using java

23rd Jan 2020, 10:50 AM
Ahmad Zakir
Ahmad Zakir - avatar
3 ответов
+ 5
nextDouble method
23rd Jan 2020, 11:01 AM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 4
import java.util.Scanner; // first line of programme Scanner sc = new Scanner(System.in); double a = sc.nextDouble();
23rd Jan 2020, 11:13 AM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
0
Can you give an example outline
23rd Jan 2020, 11:11 AM
Ahmad Zakir
Ahmad Zakir - avatar