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;
- int fullFillLines = imageAmount / imagePerZone;
- int partFillLines = imageAmount % imagePerZone;
- Console.WriteLine($"Полность заполненных рядов будет {fullFillLines}");
- Console.WriteLine($"Картинок сверх меры {partFillLines}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement