Advertisement
rukvir

HW 6

Dec 1st, 2021
1,142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.19 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace HomeWorck_6
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             string name;
  14.             string age;
  15.             string zodiac;
  16.             string job;
  17.             string payroll;
  18.  
  19.             Console.Write("Введите Ваше имя: ");
  20.             name = Console.ReadLine();
  21.             Console.Write("Введите сколько Вам полных лет: ");
  22.             age = Console.ReadLine();
  23.             Console.Write("Введите Ваш знак зодиака: ");
  24.             zodiac = Console.ReadLine();
  25.             Console.Write("Введите Ваше место работы: ");
  26.             job = Console.ReadLine();
  27.             Console.Write("Введите Вашу заработную плату: ");
  28.             payroll = Console.ReadLine();
  29.  
  30.             Console.WriteLine($"Вас зовут {name}, Вам {age} год, Ваш знак зодиака {zodiac}," +
  31.                 $" Ваше место работы {job}, Ваша З/П - {payroll} ");
  32.            
  33.  
  34.         }
  35.     }
  36. }
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement