Java tutorial
public class MainClass { public static void main(String[] a) { double x = 27.5, y = 33.75; System.out.printf("x = %f y = %g", x, y); } }