Last active
January 30, 2023 20:51
-
-
Save ShamilAitov/9ad236d4d80db796abe4c32407533990 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApp2 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int age; | |
string name; | |
string zodiac; | |
Console.Write("Привет, введите Ваше имя: "); | |
name = Console.ReadLine(); | |
Console.Write(name + ", напишите сколько Вам лет: "); | |
age = Convert.ToInt32(Console.ReadLine()); | |
Console.Write("Это круто, напишите какой у Вас знак зодиака: "); | |
zodiac = Console.ReadLine(); | |
Console.WriteLine($"Вас зовут {name}, Вам {age} лет, вы {zodiac} и создаете игры."); | |
Console.WriteLine("Вас зовут " + name + ", Вам " + age + " лет, вы " + zodiac + " и создаете игры."); | |
Console.ReadKey(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment