Skip to content

Instantly share code, notes, and snippets.

@Hellhackee
Last active November 19, 2020 23:38
Show Gist options
  • Save Hellhackee/df0af7108f4baccdef68f0a273c8b682 to your computer and use it in GitHub Desktop.
Save Hellhackee/df0af7108f4baccdef68f0a273c8b682 to your computer and use it in GitHub Desktop.
CS Light Lesson 3.1 (captures)
int row = 3;
int count = 52;
int rowCount = count / row;
int remainingCaptures = count % row;
Console.WriteLine($"Будет выведено {rowCount} полностью заполненных рядов и останется {remainingCaptures} картинок сверх меры");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment