Created
May 8, 2021 07:19
-
-
Save Ana19997/cf49af53f3ba1ec34ebba865f35fc267 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 ConsoleApp3 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
string name; | |
int age; | |
string zodiacSign; | |
Console.Write("Введите ваше имя: "); | |
name = Console.ReadLine(); | |
Console.Write("Введите ваш возраст: "); | |
age = Convert.ToInt32(Console.ReadLine()); | |
Console.Write("Введите ваш знак зодиака: "); | |
zodiacSign = Console.ReadLine(); | |
Console.WriteLine("Ваше имя " + name + ", вам " + age + ", ваш знак зодиака " + zodiacSign); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment