Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- public class Program
- {
- public static void Main()
- {
- int totalNumber = 52;
- int inRow = 3;
- int fullRow;
- int overRow;
- fullRow = totalNumber/inRow;
- overRow = totalNumber%inRow;
- Console.WriteLine($"Выведено заполненных рядов: {fullRow}, изображений в последнем ряду: {overRow}");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement