Search This Blog

Sunday, 23 August 2020

Do while loop concept,

 #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;

}


No comments:

Post a Comment

Search This Blog

Contact Form

Name

Email *

Message *

Popular Posts