using Modeul_11;
using System;
using System.IO;
namespace Module_11
{
//Abstract class that extends the interface
public abstract class Shape : IComparableType<Shape>
{
public abstract double Area();
public abstract string WhatAmI();
public int CompareTo(Shape other)
{
//if shape1 is less than shape 2, return -1
// if shape 1 is greater than shape 2, return 1
//if shape 1 and shape 2 are equal, return 0
return 1; //FIXME
}
}
}
using Modeul_11;
using System;
using System.IO;
namespace Module_11
{
//Abstract class that extends the interface
public abstract class Shape : IComparableType<Shape>
{
public abstract double Area();
public abstract string WhatAmI();
public int CompareTo(Shape other)
{
//if shape1 is less than shape 2, return -1
// if shape 1 is greater than shape 2, return 1
//if shape 1 and shape 2 are equal, return 0
return 1; //FIXME
}
}
}