Tabel Perkalian

mengerjakan program tabel perkalian dengan C++


#include <iostream>
#include <conio.h>
#include <iomanip>

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 i, j;
    cout<<"Tabel perkalian \n\n";
    for(i=1; i<=10; i++)
    {
        cout<<setw(5)<<i;
        for(j=1; j<=10; j++);
        cout<<setw(5)<<i*j;
        cout<<endl;
    }

    return 0;
}

Share this

Related Posts

Previous
Next Post »

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer