Membuat Aplikasi Perkalian Di Code Blok (C++)

#include <iostream>

using namespace std;

int main()
{
    cout << "By : Riyan Meidy Prayoga.."
    << endl << endl;

    cout << "** MENGHITUNG PERKALIAN 5 BUAH BILANGAN **" << endl << endl;
    int a,b,c,d,e;
    a=10;b=5;c=4;d=2;e=5;
    cout << "HASIL : "<<a<<"*"<<b<<"*"<<c<<"*"<<d<<"*"<<e<<" : "
        << (a*b*c*d*e);
    return 0;
}

0 comments:

Copyright © 2013 Dunia I.T Dinasty