Advertisement
Fox_McCloud77

CSLight_HW_5

Feb 11th, 2020
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.64 KB | None | 0 0
  1. using System;
  2. using System.Text;
  3.  
  4. namespace CSLight_HW_5
  5. {
  6.     class Program
  7.     {
  8.         static void Main(string[] args)
  9.         {
  10.             Console.OutputEncoding = Encoding.UTF8;
  11.  
  12.             int pictures = 52;
  13.             int inRaw = 3;
  14.             int fullLaneAmount;
  15.             int overNorm;
  16.  
  17.             fullLaneAmount = pictures / inRaw;
  18.             overNorm = pictures % inRaw;
  19.             Console.WriteLine($"Полностью заполненых рядов: {fullLaneAmount}");
  20.             Console.WriteLine($"Картинок сверх меры: {overNorm}");
  21.             Console.ReadKey();
  22.         }
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement