chap 4 notes 93 - for (j= 1 ; j<=n; j++) { cout...

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

View Full Document Right Arrow Icon
93 #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&lt;=n; j++) { cout &lt;&lt; endl &lt;&lt; i &lt;&lt; &quot; * &quot; &lt;&lt; j; cout &lt;&lt; &quot; = &quot; &lt;&lt; i*j &lt;&lt; endl; } } return ; } Nested Loops i j m n 1 2 3 4...
View Full Document

Ask a homework question - tutors are online