include<stdio.h>
include<conio.h>
int main()
{
clrscr();
float Width;
float Long;
printf(“\nInput value of Width : “);
scanf(“%f”, &Width);
printf(“Input value of Long : “);
scanf(“%f”, &Long);
printf(“Area of a Rectangle is %.2f \n\n”,Width * Long);
getch();
}
-
เรื่องล่าสุด
- การคำนวณหาพื้นที่วงกลม สิงหาคม 4, 2019
- หาพื้นที่สี่เหลี่ยมผืนผ้า กรกฎาคม 28, 2019
- โปรแกรมสูตรคูณ กรกฎาคม 28, 2019
- หาพื้นที่สี่เหลี่ยมคางหมู กรกฎาคม 28, 2019
- โปรแกรมสถิติ กรกฎาคม 21, 2019