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 CLight_BaseLevel_Lesson1_2
- {
- class Program
- {
- static void Main(string[] args)
- {
- int pictures = 52;
- int column = 3;
- int rows;
- int balance;
- rows = pictures / column;
- balance = pictures % column;
- Console.WriteLine($"Целых рядов - {rows}. Останется картин - {balance}");
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement