Advertisement
Guest User

cornersv2

a guest
Nov 21st, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. {
  2. cout<<"*Enter the number of corners of the swimming pool.*"<<endl;
  3.  
  4. cin>>corners;
  5. while(corners<3) {
  6. cout<<"*The corners needs to be greater or equal to 3.*"<<endl<<" *Please Try again.*"<<endl;
  7. cin>>corners;
  8. }
  9. cout<<"*There are "<<corners<<" corners in the pool.*"<<endl;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement