P. 1
menghitung segitiga

menghitung segitiga

|Views: 6|Likes:
Publicado porWayan Wiadnyana

More info:

Published by: Wayan Wiadnyana on Mar 20, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

10/31/2014

pdf

text

original

#include<conio.

h>
#include<stdio.h>
#include<iostream.h>
main()
{
float luas_segitiga,alas,tinggi;
puts(" ------------------------ ");
puts(" TUGAS LOGIKA & ALGORITMA ");
puts(" ------------------------ ");
puts(" KELAS GA JELAS SMTR SERATUS ");
puts(" --------------------------- ");
cout<<endl;
puts(" --------------------------------------------------------- ");
puts(" MENGHITUNG LUAS SEGITIGA ");
puts(" --------------------------------------------------------- ");
cout<<" Masukan Nilai Alas = ";cin>>alas;
cout<<" Masukan Nilai Tinggi = ";cin>>tinggi;
luas_segitiga=0.5*(alas*tinggi);
cout<<" Luas Segitiga = "<<luas_segitiga<<endl<<endl<<endl;
puts(" --------------------------------------------------------- ");
puts(" S E L E S A I ");
getche();
}

You're Reading a Free Preview

Descarga
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->