Untitled
#include<iostream> using namespace std; int main() { int n; cout<<"Enter the number of time:"; cin>>n; int i=1; while(i<=n) { cout<<"this is a statement"<<endl; i=i+1; } return 0; }
Leave a Comment
#include<iostream> using namespace std; int main() { int n; cout<<"Enter the number of time:"; cin>>n; int i=1; while(i<=n) { cout<<"this is a statement"<<endl; i=i+1; } return 0; }