Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Lesson1_5
- {
- class Program
- {
- static void Main(string[] args)
- {
- int timeForWaiting = 10;
- Console.WriteLine("-------------Поликлиника-------------");
- Console.Write("Здравствуйте! Скажите пожалуйста сколько человек перед вами в очереди? ");
- int people = Convert.ToInt32(Console.ReadLine());
- Console.WriteLine("Примерное время ожидания вашей очереди составляет {0} минут.", timeForWaiting*people);
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement