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