Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.67 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ConsoleApp2
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             float albom = 52;
  14.             float ryad = 3;
  15.             float zryad = albom / ryad;
  16.             float sverh = zryad;
  17.             zryad = Convert.ToInt32(zryad);
  18.             float itog = sverh - zryad;
  19.             Console.WriteLine($"Полностью заполненных рядов = {zryad}");
  20.             Console.WriteLine($"Картинок сверх меры = {itog}");
  21.             Console.ReadKey();
  22.  
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement