Fish tank volume
Log in om je oplossingen te testen.
// 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.");
}
}
Je kunt zo vaak indienen als je wenst. Er wordt enkel rekening gehouden met je laatst ingediende oplossing.
Log in om je oplossingen te testen.