Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace CsLightHomeworks
- {
- class Program
- {
- static void Main(string[] args)
- {
- int imageAmount = 52;
- int imagePerZone = 3;
- Console.WriteLine("Полность заполненных рядов будет " + Convert.ToString(imageAmount / imagePerZone));
- Console.WriteLine("Картинок сверх меры " + Convert.ToString(imageAmount % imagePerZone));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement