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 ConsoleApp2
- {
- class Program
- {
- static void Main(string[] args)
- {
- int ludi;
- int chasi;
- int minuti;
- int ochered;
- Console.Write("Здравствуйте. Какое кол - во людей вы видите: ");
- ludi = Convert.ToInt32(Console.ReadLine());
- ochered = ludi * 10;
- chasi = ochered / 60;
- minuti = ochered % 60;
- Console.WriteLine($"Перед вами {ludi} человек, вам осталось ждать {chasi} часов {minuti}");
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement