Question: The Task: I have multiple shapes. Each shape does something different depending on what it is. For example: Shape Prints I am a shape!

The Task: I have multiple shapes. Each shape does something different dependingon what it is. For example: Shape Prints "I am a shape!Shapes are cool" Prints "Shape" 5 times O Triangle O Circle Prints

The Task: I have multiple shapes. Each shape does something different depending on what it is. For example: Shape Prints "I am a shape! Shapes are cool" Prints "Shape" 5 times O Triangle O Circle Prints "I am a triangle" Prints "I have 3 sides" 3 times Prints "I am a shape! Shapes are cool" Prints "Shape" 5 times Prints "I am round Prints "I like to roll!" 7 times Prints "I am a shape! Shapes are cool" Prints "Shape" 5 times Rectangle Prints "I am a rectangle... who has 4 sides" Prints "I am a shape! Shapes are cool" Prints "Shape" 5 times What You Need to Do: Your job is to implement the code (as specified above). An example output would be: If I called these methods in main... static void main(string[] args) { new Rectangle (); new Triangle (); new Circle(); } I am a rectangle...who has 4 sides I am a shape! Shapes are cool! Shape Shape Shape Shape Shape I am a triangle I have 3 sides I sides I have 3 sides I am a shape! Shapes are cool! Shape Shape Shape Shape Shape I am round... I like to roll! I like to roll! I like to roll! I like to roll! I like to roll! I like to roll! I like to roll! I am a shape! Shapes are cool! Shape Shape Shape Shape Shape

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

It seems like you want to implement a program with different shapes Triangle Circle Rectangle each h... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!