Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Globalization;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace HW_2025
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- int rowPicture = 3;
- int totalPictures = 52;
- int temp = 0;
- temp = totalPictures / rowPicture;
- Console.WriteLine($"Всего можно повесить рядов: {temp}");
- temp = totalPictures % rowPicture;
- Console.WriteLine($"Останется картин: {temp}");
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement