Fish tank volume

Sign in to test your solution.
// Fish tank volume program using System; class Submission { // ------------------------- // Subprograms // ------------------------- static double volume(int length, int width, int height) { } static double litres_to_gallons(double litres) { } // ------------------------- // Main program // ------------------------- public static void Main(string[] args) { int length = int width = int height = double litres = double gallons = Console.WriteLine("A " + length + " x " + width + " x " + height + " cm tank is " + litres + " litres and " + gallons + " imperial gallons."); } }
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.