Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication31
- {
- class Program
- {
- static void Main(string[] args)
- {
- GetUsername();
- }
- static void GetUsername()
- {
- Console.Write("Enter your username: ");
- string username = Console.ReadLine();
- Console.Write("Enter your age: ");
- int age = Convert.ToInt32(Console.ReadLine());
- Console.Write("Your username is " + username + "\n");
- Console.Write("Your age is " + age + " years old");
- Console.ReadKey();
- if (age <= 10)
- {
- Console.WriteLine("еблан нахуй ты скачал эту програму. школота пиздуй нах.");
- }
- if (age >= 11)
- {
- Console.WriteLine("оо ебать взрослы))");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement