Advertisement
Guest User

1.7

a guest
Aug 22nd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.70 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 _1._7
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             //Запрос количества бабок в очереди
  14.             Console.Write("Количество бабулек в очереди: ");
  15.             int N = Convert.ToInt32(Console.ReadLine());
  16.  
  17.             //Задаем время приема одного человека (бабки)
  18.             int t = 10;
  19.  
  20.             //Вывод
  21.             Console.WriteLine("Время ожидания в очереди - "+(N*t)+" минут");
  22.         }
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement