Sunday, 09.08.2020, 19:44
Welcome Guest | RSS
Site menu
Login form
Section categories
Search
Calendar
«  July 2011  »
SuMoTuWeThFrSa
     12
3456789
10111213141516
17181920212223
24252627282930
31
Entries archive
Our poll
Rate my site
Total of answers: 6
Statistics

Total online: 1
Guests: 1
Users: 0
Main » 2011 » July » 1 » Multiplication table standard
21:22
Multiplication table standard
#include <iostream>
using namespace std;


int mul(int x, int y){

    return (x*y);
}

int main()
{
    int i, j;
    int a[10][10];
    for (i=0;i<10;i++){
    for (j=0;j<10;j++)
    a[i][j]=mul(i,j);
    }

 for (i=0;i<10;i++){
    cout<<endl;
    for (j=0;j<10;j++)
        cout<<i<<" * "<<j<<" = "<<a[i][j]<<endl;
            }
            return 0;
            }

Category: C++ programs | Views: 3601 | Added by: H_Imirzyan | Tags: Table, multipy, mul, Multiplication, Standard | Rating: 0.0/0
Total comments: 0
Name *:
Email *:
Code *: