Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Globalization;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace if_old_OS
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Enter an integer between 94 and 100.");
- var num = int.Parse(Console.ReadLine());
- if (num < 94)
- {
- Console.WriteLine("Enter an integer between 94 and 100.");
- Console.ReadLine();
- }
- if (num == 95)
- {
- Console.WriteLine("Windows 95 can not find your keyboard. Press F1 for help.");
- }
- if (num > 100)
- {
- Console.WriteLine("Enter an integer between 4 and 100.");
- Console.ReadLine();
- }
- if (num == 98)
- {
- Console.WriteLine("Windows 98 can not find your sound card. Press F1 after the beep.");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment