Rabu, 15 Desember 2010

Program Perhitungan Energi Potensial C++

//Program Perhitungan Energi Potensial
#include <iostream.h>
#include <conio.h>

main()
{
float m, k, e;
const
float gravitasi=9.8;
cout<<"Program Perhitungan Energi Potensial"<<endl;
cout<<"************************************"<<endl;
cout<<endl;
//Identitas
cout<<"Nama                  : M.Eldi Rosyadi"<<endl;
cout<<"NIM                   : 100010579"<<endl;
cout<<"Nama Mata Kuliah      : Praktek Algoritma dan Struktur Data"<<endl;
cout<<"No Hp                 : 085239560582"<<endl;
cout<<"E-mail                : ld_rosyadi@ymail.com"<<endl;
cout<<"WEB Blog              : www.ld-rosyadi.co.cc"<<endl;
cout<<endl;
cout<<endl;
//Perhitungan
cout<<"Input Massa Jenis     :";
cin>>m;
cout<<"Input Ketingian Benda :";
cin>>k;
e=m*gravitasi*k;
cout<<endl;
cout<<"Hasil Perhitungan"<<endl;
cout<<"-----------------"<<endl;
cout<<"Energi potensial      ="<<e<<endl;
cout<<endl;
cout<<endl;
cout<<"Enter untuk Keluar....";
getch();
return 0;
}

1 komentar:

Anonim mengatakan...

thx u
i like it (D

Poskan Komentar

thank you

Tukar link gratis

Daftar link
By enda fiVers
Fivers

Welcome To My Blog

Welcome To My Blog, semoga sobat blogger bisa mendapatkan apa yang anda butuhkan di blog saya ini.Silahkan berkomentar dan follow juga blog saya,

About Me

Saye sumaye,Sekarang sedang menjalani kulyah S1 (semester 2)Sistem Komputer Di STIMIK STIKOM BALI

Social Stuff

Me hostgator coupon code