Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Meter to Cm

import java.util.Scanner;
public class MeterToCm {
    public static void main(String[] args) {
        Scanner userInput = new Scanner(System.in);
        double meter = userInput.nextDouble();
        double cm = meter*100;
        System.out.println(cm);
    }
}
 
PREVIOUS NEXT
Tagged: #Meter #Cm
ADD COMMENT
Topic
Name
6+2 =