This preview shows page 1. Sign up to view the full content.
Unformatted text preview: • Write a program ( SqCirc.m ) to o Take input from the users for the radius of circle and side of square. o Compare the areas of circle and square To calculate the area or circumference of a circle or square use your defined functions i.e. ( Circleac.m and Squareac.m) o Give the appropriate output to the user specifying whether the area of circle or square is greater. • Webhandin all three files SqCirc.m , Circleac.m and Squareac.m • Document your files properly....
View Full Document
This note was uploaded on 02/20/2012 for the course CSCE 155N taught by Professor Sandeep during the Spring '11 term at UNL.
- Spring '11