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