URI Problem (Consumption) 1014:
Consumption is a basic problem on URI online judge for novice problem solver.
You can find details on this Link.
import java.util.Scanner; /** * @Author : Muhammad Harun-Or-Roshid * @Date : Oct 6, 2016 * @Time : 9:16:40 PM */ public class Uri1014 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int X = sc.nextInt(); double Y = sc.nextDouble(); double Z = X/Y; System.out.printf("%.3f km/l\n",Z); } }