Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. char repeat = 'y';
  2.  
  3. do
  4. {
  5.  
  6.  
  7. Console.Write("\nWould you like to do measuremnt again y/n: ");
  8. repeat = char.Parse(Console.ReadLine());
  9.  
  10.  
  11. }
  12. while (repeat == 'y');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement