Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.72 KB | None | 0 0
  1. using System;
  2.  
  3. namespace IJunior1
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             Console.Write("Введите Ваше имя: ");
  10.             string userName = Console.ReadLine();
  11.  
  12.             Console.Write("Введите Ваш возраст: ");
  13.             int userAge = Convert.ToInt32(Console.ReadLine());
  14.  
  15.             Console.Write("Введите кем Вы работаете: ");
  16.             string userProfession = Console.ReadLine();
  17.  
  18.             Console.WriteLine("\n");
  19.             Console.WriteLine("Привет " + userName
  20.                 + "! Тебе " + userAge +
  21.                 " и ты работаешь " + userProfession);
  22.         }
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement