public void calcSelect() { if (dogWeight <= 20) { Console.WriteLine("You have a small dog."); sd.ReadData(); } else if (dogWeight >= 21 && dogWeight <= 49) { Console.WriteLine("You have a medium dog"); md.ReadData(); } else if (dogWeight >= 50) { Console.WriteLine("You have a Larger dog."); ld.ReadData(); } else { Console.WriteLine("Thanks for asking me to help!"); } }
public void Question6() { SmallDog dogYears = new SmallDog(); dogYears.ReadData(); }