โปรแกรมคำนวณหาพื้นที่ของสามเหลี่ยม Area = ½ x ฐาน x สูง โดยมีข้อมูลเข้า (Input) จากคีย์บอร์ด คือ ค่าของฐานของสามเหลี่ยม (b: Base) และค่าความสูงของสามเหลี่ยม (h: Height) พร้อมพิมพ์ผลลัพธ์
- /*c-dos.blogspot.com*/
- #include <stdio.h>
- #include <conio.h>
- main ()
- {
- int b,h,area;
- printf("Enter Base:");
- scanf("%d",&b);
- printf("Enter Height:");
- scanf("%d",&h);
- area=(0.5*b*h);
- printf("Area is = %d",area);
- getch();
- return 0;
- }
Jammin' Jars Casino - Jammin Jars Casino
ตอบลบFind 거제 출장샵 out 전라남도 출장샵 what makes Jammin Jars 서산 출장마사지 Casino so special. Jammin Jars is a great 김해 출장샵 place to play 파주 출장안마 casino games and get a kick out of your seat.