Advertisement
RamGaal

Untitled

May 13th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. int lineFull;
  2. int morePicture;
  3. int lineLong = 3;
  4. int massPicture = 52;
  5. lineFull = massPicture / lineLong;
  6. morePicture = massPicture % lineLong;
  7. Console.WriteLine("Полных рядов - " + lineFull);
  8. Console.WriteLine("Осталось " + morePicture + " картинок");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement