using System;
namespace application17{
public struct square{
int length;
int width;
int height;
public void input(){
Console.WriteLine("Enter length...width..height");
length=Convert.ToInt32(Console.ReadLine());
width=Convert.ToInt32(Console.ReadLine());
height=Convert.ToInt32(Console.ReadLine());
}
public void area(){
Console.WriteLine("The area of the square="+(length*width));
public void volume(){
Console.WriteLine("The volume of the square="+(length*width*height));
public class MainClass{
public static void Main(String[]args){
square obj=new square();
obj.input();
obj.area();
obj.volume();