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