write a program to find the area of a parallelogram
#include<stdio.h> main() { float base,height,area; printf("enter the base and height of parallelogram:"); scanf(" %f%f",&base,&height); area=base*height; printf("area of parallelogram=%f\n",area); }
No comments:
Post a Comment