07-28-2010, 01:09 AM
(07-28-2010, 12:13 AM)TroubLeMaKeR Wrote:(03-13-2010, 03:10 PM)TeRRen.Jr Wrote: om Karose udah beLaJar C/C++ aJa neh..
hehehe..
aNe aJa bAru bisa dikit..
ne aNe share deh..
Perhitungan Luas Segitiga [simpLe]
Code:#include <stdio.h> #include <conio.h> #include <iostream.h> main() { int alas,tinggi,luas; clrscr(); cout << "*--------------------------------------------------*"<<endl; cout << "| @CopyRight By aLdy TeRRen |"<<endl; cout << "| Contact Me : terren@cyberdos.org |"<<endl; cout << "| Visit me : http://terrenjr.co.cc |"<<endl; cout << "*--------------------------------------------------*"<<endl<<endl; cout << "Masukan Alas Segitiga : " ; cin >> alas; cout << "Masukan Tinggi Segitiga : " ; cin >> tinggi; luas=(alas*tinggi)/2; cout << "Luas Segitiga : "<<luas; getch(); }
Maph kk numpang tny,klo d win7 ultimate pake software pa? ? ?
codeblock atw turboC???
dah coba'DEV c++ kk,googling ja....
bisa lansung compile 'n run..




