C++ Membalik Bilangan

#include<iostream>
#include<conio.h>
int main(){
int a,b,c;
cout<<"\n";
cout<<"   ===========================\n";
cout<<"   ===> MEMBALIK BILANGAN <===\n";
cout<<"   ===========================\n\n";
cout<<" Masukkan bilangan pertama : ";
cin>> a;
cout<<" Masukkan bilangan kedua : ";
cin>>b;
cout<<" masukkan bilangan ketiga : ";
cin>>c;
cout<<"\n";
cout<<" =========\n";
cout<<"   # HASIL #\n";
cout<<" ` =========\n";
cout<<"\n";
cout<<" Urutan bilangan : "<<a<<" : "<<b<<" : "<<c<<endl;
cout<<" Menjadi : "<<c<<" : "<<b<<" : "<<a<<endl;
getch();
}

0 Response to "C++ Membalik Bilangan"

Posting Komentar