Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Курсы
- {
- class Program
- {
- static void Main(string[] args)
- {
- int pictures = 52;
- int row = 3;
- int fullRow = 52 / 3;
- int excessPictures = 52 % 3; // с английским беда если что)
- Console.WriteLine($"Количество полных рядов:{fullRow}");
- Console.WriteLine($"Количество лишних картинок: {excessPictures}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement