using System;
  class Solution {
         static void Main(string[] args) {
            int n,x;
            double y, prom;
            n = Convert.ToInt32(Console.ReadLine());
            for(int i = 0; i < n ; i++){
                string cadena = Console.ReadLine();
                string [] xy = cadena.Split(' ');
                x = Convert.ToInt32(xy[0]);
                y = Convert.ToSingle(xy[1]);
                prom = x/y;
                Console.WriteLine("{0:f3} km/l",prom);
            }
            
        }
    }

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: