Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp2
- {
- class Program
- {
- static void Main(string[] args)
- {
- int picturesTotal = 52;
- int picturesInOneRow = picturesTotal / 3;
- int picturesLeft = picturesTotal % 3;
- Console.WriteLine("В Вашем альбоме: " + picturesInOneRow + " рядов и остаток " + picturesLeft);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement