Advertisement
l3en

Untitled

Nov 17th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.14 KB | None | 0 0
  1. case 2: //Window Measurements
  2.                         {
  3.                             if (count < 5)
  4.                             {
  5.                                 while (bQuit == false)
  6.                                 {
  7.                                     WWidth = getSafeDouble(" Width >> ");
  8.                                     windowWidths[count] = WWidth;
  9.                                     count++;
  10.  
  11.                                     Console.WriteLine("Would You Like To Enter Another Width? [Y/N]: ");
  12.                                     cInput = Convert.ToChar(Console.ReadLine());
  13.                                     if (cInput == 'n' || count >= 5)
  14.                                     {
  15.                                         bQuit = true;
  16.                                     }
  17.                                 }
  18.                             }
  19.                             if (count >= 5)
  20.                             {
  21.                                 Console.WriteLine("You can't put in anymore windows");
  22.                                 DrawMenu();
  23.                             }
  24.                         }
  25.                         break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement