/**
 * CS1010 AY2011/2 Semester 2 Lab1 Ex1
 *
 * box.c
 * This program calculates the surface area of a box, and the
 * length of the diagonal connecting two vertices furthest apart.
 *
 * <Type your name here>
 * <Type your discussion group here>
 */

#include <stdio.h>

// Write your function prototypes below (and remove this comment!)

int main(void)
{
	int length, width, height, area;
	double diagonal;

	printf("Enter length: ");
	scanf("%d", &length);

	printf("Enter width : ");
	scanf("%d", &width);

	printf("Enter height: ");
	scanf("%d", &height);

	// fill in your code below (and remove this comment!)

	printf("Diagonal = %.2f\n", diagonal);

	return 0;
}

// Add your functions below (and remove this comment!)
// Every function should be preceded with a comment
// that describes what the function does.

// use of function in this exericse is ENCOURAGED, but not compulsory

