Wednesday, 19 February 2014

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:

Contact Form

Name

Email *

Message *