Skip to content

Instantly share code, notes, and snippets.

@Ana19997
Created May 8, 2021 07:19
Show Gist options
  • Save Ana19997/cf49af53f3ba1ec34ebba865f35fc267 to your computer and use it in GitHub Desktop.
Save Ana19997/cf49af53f3ba1ec34ebba865f35fc267 to your computer and use it in GitHub Desktop.
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