DevelopersSociety
SQL
Contact
HTML
C++
Tuesday, December 9, 2014
C++ Tutorial- Program- 7- Nested for loop
Code:
#include<iostream>
using namespace std;
main()
{
for(int a=0; a<=2; a++)
for(int b=0; b<=2; b++)
cout<<"a="<<a<<endl;
}
Output:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment