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 ConsoleApp2
- {
- class Program
- {
- static void Main(string[] args)
- {
- float albom = 52;
- float ryad = 3;
- float zryad = albom / ryad;
- float sverh = zryad;
- zryad = Convert.ToInt32(zryad);
- float itog = sverh - zryad;
- Console.WriteLine($"Полностью заполненных рядов = {zryad}");
- Console.WriteLine($"Картинок сверх меры = {itog}");
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement