#include<iostream>
using namespace std;
int main()
{
int i;
do
{
cout<<"\nyou are inside the loop:";
cout<<"\nto exit the loop plese enterd the 1:";
cin>>i;
}
while(i!=1);
cout<<"\nyou are out side the do while loop:";
return 0;
}
Easy programming and better way to learn the programming . if you like the scorce code do like like share and subscribe the chennel.
No comments:
Post a Comment