From Meng Vannara
Tuesday, May 30, 2017
While Loop Show
#include<iostream>
using namespace std;
int main()
{
int n,i;
cout <<"Enter Number: ";
cin>>n;
i=1;
while(i<=n)
{
cout <<"Show: "<<i<<endl;
i++;
}
return 0;
}
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment