rado84

RadoHelp-Improved

May 28th, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading;
  6. using System.Threading.Tasks;
  7.  
  8. namespace RadoHelp
  9. {
  10. class IfOldOs
  11. {
  12. static void Main(string[] args)
  13. {
  14. while (true)
  15. {
  16. Console.WriteLine("Enter an integer between 94 and 100.");
  17. int num = int.Parse(Console.ReadLine());
  18.  
  19. if (num == 95)
  20. {
  21. Console.WriteLine("Windows 95 can not find your keyboard. Press F1 for help.");
  22. Console.WriteLine();
  23. }
  24.  
  25. if (num == 98)
  26. {
  27. Console.WriteLine("Windows 98 can not find your sound card. Press F1 after the beep.");
  28. Console.Beep(820, 600);
  29. Console.WriteLine("The program will close in 5 seconds.");
  30. Thread.Sleep(5000);
  31. break;
  32. }
  33. }
  34. }
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment