Created
May 8, 2022 11:21
-
-
Save ghostofgamer/84ad4e5b58e6610fadaa9c488600b716 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int amountPicture = 52; | |
int pictureInRow = 3; | |
int fullRow; | |
int extra; | |
fullRow = amountPicture / pictureInRow; | |
extra = amountPicture - fullRow * pictureInRow; | |
Console.WriteLine(fullRow); | |
Console.WriteLine(extra); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment