Breaking News
Loading...
Senin, 14 Maret 2016

Perkalian

Berikut ini perkalian dengan menggunkan C++ :

#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char** argv) {
int a;
int b;
cout<<"A =";
cin>>a;
cout<<"B =";
cin>>b;
cout<<"Jumlah perkalian = ";
cout<<a*b;
return 0;
}




0 komentar:

Posting Komentar

Copyright © 2014 My Blog My Adventure All Right Reserved