chap 4 notes 100 - (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
100 #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; for
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

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

{[ snackBarMessage ]}

Ask a homework question - tutors are online