While Loop Program in C/C++

While Loop Program in C/C++




#include<iostream>
using namespace std;
int main()
{
int i=0;
while (i<=10)
{
cout << i << '\t';
i++;
}
}


Comments

Popular posts from this blog

Book-Shop Program using C++

Nesting of For Loop in C/C++

Switch statement in C/C++