Current location - Loan Platform Complete Network - Big data management - Big data printing multiplication
Big data printing multiplication
The following is the C++ implementation, and the specific idea is that two loops are nested.

# include & ltiostream & gt

Use namespace std

int main()

{

int i,j;

for (i= 1,j = 1; j & lt=9; j++)

{

I = 1;

Cout & lt& lt me<< "*"<<j<< "="<<I * j<< "";

for(; I & ltj;; )

{

i++;

Cout & lt& lt me<< "*"<<j<< "="<<I * j<< "";

} cout & lt& ltendl

}

Return 0

}