11.7+new+ScannerSystem.in

code format="java" import java.util.Scanner; public class HelloWorld { public static void main(String []args){ double rmb; double dollar; Scanner data;

data = new Scanner(System.in); System.out.println("rmb:"); rmb = data.nextDouble; dollar = 6.7 * rmb; System.out.println("dollar:" + dollar); System.exit(0);

} } code