KnowledgeBoat Logo
|

Computer Applications

Write down the syntax with reference to Java Programming to accept a fractional value (float) 'm' through Scanner Class

Input in Java

91 Likes

Answer

Scanner in = new Scanner(System.in);
float m = in.nextFloat();

Answered By

60 Likes


Related Questions