#include <stdio.h>
#include <conio.h>
#define pi 3.14
void main(){
clrscr();
int j,a,t;
printf("masukkan jari-jari : ");scanf("%d",&j);
printf("luas lingkaran : %f\n",(pi*j*j));
printf("masukkan alas : ");scanf("%d",&a);
printf("masukkan tinggi : ");scanf("%d",&t);
printf("luas segitiga : %f\n",(0.5*a*t));
getch();
}
bahasa c : program untuk menghitung luas segitiga dan luas lingkaran
Tuesday, March 20, 2012
by
sudut
·
Subscribe to:
Post Comments (Atom)
Labels
- 10 android applications (1)
- Algorithm (3)
- android (1)
- arsikom (4)
- beasiswa (8)
- BlackBerry (1)
- cerita (1)
- electro (5)
- elektro (1)
- film terpopuler 2011 (1)
- game (2)
- HTC (1)
- huawei (1)
- info kuliah (13)
- jaringan (1)
- komputer (1)
- law (2)
- motivasi (7)
- motorola (2)
- naruto chapter 565 (1)
- nexian (1)
- nokia (2)
- Penghasilan tambahan (4)
- PMB 2012 (14)
- power pc (6)
- sekolah (1)
- seputar kehidupan (3)
- sistem operasi (1)
- software (1)
- techno (4)
- teknologi (2)
- tips (7)
- tips blogging (1)
- tutorial blog (1)
- tutorial MS word 2007 (1)
- unnes (5)
- virus (3)
- virus 2011 (1)
- wifi (1)
0 comments:
Post a Comment