C++ Konversi Meter Ke Inchi, Yard, Kaki
Jumat, 11 Juli 2014
Add Comment
#include <conio.h>
int main(){
float i=0.0254,k=0.3048,y=0.9144;
int a;
cout<<"\n =================\n";
cout<<" ===> CONVERT <===\n";
cout<<" =================\n\n";
cout<<" Masukkan panjang benda(meter) : ";
cin>> a;
cout<<"\n !!!!!!!!!!!\n";
cout<<" !! HASIL !!\n";
cout<<" !!!!!!!!!!!\n\n";
cout<<" "<<a*i<<" inchi"<<endl;
cout<<" "<<a*y<<" yard"<<endl;
cout<<" "<<a*k<<" kaki"<<endl;
getch();
}
0 Response to "C++ Konversi Meter Ke Inchi, Yard, Kaki"
Posting Komentar