Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- cout<<"*Enter the number of corners of the swimming pool.*"<<endl;
- cin>>corners;
- while(corners<3) {
- cout<<"*The corners needs to be greater or equal to 3.*"<<endl<<" *Please Try again.*"<<endl;
- cin>>corners;
- }
- cout<<"*There are "<<corners<<" corners in the pool.*"<<endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement