Advertisement
Guest User

Untitled

a guest
Apr 9th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.47 KB | None | 0 0
  1. using System;
  2.  
  3. namespace CsLightHomeworks
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             int imageAmount = 52;
  10.             int imagePerZone = 3;
  11.  
  12.             Console.WriteLine("Полность заполненных рядов будет " + Convert.ToString(imageAmount / imagePerZone));
  13.             Console.WriteLine("Картинок сверх меры " + Convert.ToString(imageAmount % imagePerZone));
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement