Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int pictures = 52;
- int inRowPictures = 3;
- int quantityRows = pictures / inRowPictures;
- int remainsPictures = pictures % inRowPictures;
- Console.WriteLine($"На экране будет заполнено {quantityRows} рядов, но {remainsPictures} не уместились на экран :(");
Advertisement
Add Comment
Please, Sign In to add comment