i want to write a simple while loop that repeats if this condition is true
and how to exit the loop if its false..
i know how to do a do while but i want a simpler way to just use a while loop since this is just a part of my program.
1 2 3 4 5 6
while ((mark<0)||(mark>100))
{
cout<<"renter mark;
cin>>mark;
}