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 firstproject
- {
- class Program
- {
- static void Main(string[] args)
- {
- int allPics = 52;
- int rows = 3;
- int fullRows = allPics/rows;
- int leftPics = allPics%rows;
- Console.WriteLine("Полностью заполненных рядов в альбоме " + fullRows);
- Console.WriteLine("Оставшихся картинок " + leftPics);
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement