Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp1
- {
- class Program
- {
- static void Main(string[] args)
- {
- string a, i = "Троллейбус", r="Сдаюся";
- int d = 1;
- Console.WriteLine("слы атгадайка слово у тя 3 попытки чувырло.");
- Console.WriteLine("это не троллейбус кста те разрешено сдацаб. ");
- a = Console.ReadLine();
- while (d <= 2)
- {
- if (r == a)
- {
- }
- d++;
- if (i == a && d <= 2)
- {
- Console.WriteLine("Молорик, ты угадал это был " + i);
- d = 3;
- }
- else
- {
- Console.WriteLine("Камон мужик давай попробуй еще раз");
- a = Console.ReadLine();
- }
- }
- if (d > 1 && d!=3)
- {
- Console.WriteLine("Ну и лах ты продул");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement