Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int rowLength = 3;
- int numberOfImages = 52;
- int numberOfFullRows = numberOfImages / rowLength;
- int numberOfImagesInLastRow = numberOfImages % rowLength;
- Console.WriteLine("Полностью заполненных картинками рядов: " + numberOfFullRows);
- Console.WriteLine("Сверх меры картинок: " + numberOfImagesInLastRow);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement