/*Calculate Area of Rombus Program*/
#include"stdio.h"
#include"conio.h"
void main()
{
clrscr();
float d1,d2,Rombus_Area;
printf("Enter the value of d1 & d2");
scanf("%f%f",&d1,&d2);
Rombus_Area=0.5*d1*d2;
printf("The Area Of Rombus is=%.2f",Rombus_Area);
getch();
}
#include"stdio.h"
#include"conio.h"
void main()
{
clrscr();
float d1,d2,Rombus_Area;
printf("Enter the value of d1 & d2");
scanf("%f%f",&d1,&d2);
Rombus_Area=0.5*d1*d2;
printf("The Area Of Rombus is=%.2f",Rombus_Area);
getch();
}
No comments:
Post a Comment
Thank you for visit this site. You will get many programming news from here and learn programming very easily.