Senin, 14 Maret 2016

KASUS 2.2

HASIL KODING 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,b,hasil;
    cout<<"masukkan bilangan1    =";cin>>a;
    cout<<"masukkan bilangan2    =";cin>>b;
    hasil=a*b;
    cout<<"hasil    ="<<hasil;
    return 0;
}

OUTPUT:

  

hasil output raptor: 


0 komentar:

Posting Komentar