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 Сprogect
- {
- class Program
- {
- static void Main(string[] args)
- {
- int allArt = 52;
- int artInRow = 3;
- int row, balance;
- row = allArt / artInRow;
- balance = allArt % artInRow;
- Console.WriteLine(row);
- Console.WriteLine(balance);
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement