Selamat datang di maiav3.blogspot.com => Blog "TANPO ASMO"

SCRIPT C++_LUAS SEGITIGA

Jumat, 18 Januari 20130 komentar


//judul program : Rumus Luas Segitiga
//created by maiaachiea

#include <iostream.h>
#include <conio.h>
#include <math.h>

void main () {
int a, t, Luas;
cout<<"INGIN TAU LUAS SEGITIGA...??"<<endl<<endl;
cout<<"MASUKKAN ALAS = ";
cin>>a;
cout<<"MASUKKAN TINGGI = ";
cin>>t;

Luas= 0.5*a*t;

cout<<"jadi hasilnya adalah....."<<endl<<endl;
cout<<"LUAS SEGITIGA = "<<Luas<<endl<<endl;

cout<<"*SELAMAT BELAJAR,SEMOGA SUKSES*"<<endl<<endl;

}
Share this article :

Posting Komentar

 
Support : Maia Achiea Template
Copyright © 2011. .: ^_^ :. - All Rights Reserved
Proudly powered by Blogger