This preview shows page 1. Sign up to view the full content.
Unformatted text preview: printf("enter the value of base and hieght for area of triangle: "); scanf("%f%f",&x,&y); a_tr=a_tri(x,y); printf("enter the value of radius for area of triangle: "); scanf("%f",&x); a_ci=a_cir(x); printf("area (rectangle) = %f area (triangle) = %f\narea (circle) = %f",a_re,a_tr,a_ci); getch(); }...
View Full Document
This note was uploaded on 11/06/2010 for the course UBIT 411 taught by Professor Saleemelahi during the Spring '10 term at University of Karachi.
- Spring '10