FAHMY AINUN NAZILLA
Rabu, 28 November 2012
KONVERSI DOLAR KE RUPIAH
#include <iostream>
using namespace std;
int main () {
int $, Rp;
//proses input $
cout<<"masukkan nilai mata uang $=";
cin>>$;
//proses konversi
Rp=$*10000;
///proses output
cout<<"nilai mata uang Rp="<<Rp<<endl;
cin.get();
return 1;
}
Tidak ada komentar:
Posting Komentar
Posting Lebih Baru
Posting Lama
Beranda
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar