SHARE
TWEET

1.9

a guest Aug 19th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ConsoleApplication3
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             int grandma;
  14.             int time = 10;
  15.             int time1;
  16.             int result;
  17.  
  18.             Console.Write("Введите количество старушек = ");
  19.             grandma = Convert.ToInt32(Console.ReadLine());
  20.  
  21.             result = grandma * time;
  22.  
  23.             time1 = result / 60;
  24.             result = result % 60;
  25.  
  26.             Console.WriteLine("Время ожидания вашей очереди - " + time1 + " часов " + result + " минут.");
  27.  
  28.             Console.ReadKey();
  29.  
  30.         }
  31.     }
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top