DevelopersSociety

Tuesday, December 9, 2014

C++ Tutorial- Program- 6- for loop


Code:

#include<iostream>
using namespace std; 
main()
{
for(int a=0; a<=5; a++)
cout<<"a="<<a<<endl;
}

Output:


No comments:

Post a Comment