Advertisement
ivanov_ivan

RadoHelp

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