Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
76
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. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace SCharp_15
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             int people_in_line;
  14.             int time_one_people = 10;
  15.  
  16.             Console.Write("Введите сколько старушек в очереди:");
  17.             people_in_line = Convert.ToInt32(Console.ReadLine());
  18.  
  19.             int time_line = people_in_line * time_one_people;
  20.             Console.WriteLine($"Сочувствую, Вам прийдеться подождать приема еще - {time_line} минут.");
  21.  
  22.             Console.ReadKey();
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement