chap 4 notes 94 - for(j= 1 j<=n j cout<< endl<<...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
94 #include <iostream> using namespace std; int main( void ){ int i, j, m= 3 , n= 4 ; for (i= 1 ; i<=m; i++) { cout << "\nMultiplication table for " << i << endl;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for (j= 1 ; j<=n; j++) { cout << endl << i << " * " << j; cout << " = " << i*j << endl; } } return ; } Nested Loops i j m n 1 5 3 4...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online