Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Text;
- namespace CSLight_HW_5
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.OutputEncoding = Encoding.UTF8;
- int pictures = 52;
- int inRaw = 3;
- int fullLaneAmount;
- int overNorm;
- fullLaneAmount = pictures / inRaw;
- overNorm = pictures % inRaw;
- Console.WriteLine($"Полностью заполненых рядов: {fullLaneAmount}");
- Console.WriteLine($"Картинок сверх меры: {overNorm}");
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement