Advertisement
Guest User

Задача5

a guest
Jan 23rd, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. int Pictures = 52;
  2. int PicturesInARow = 3;
  3. int FilledRows = Pictures / PicturesInARow;
  4. int TheRemainingPictures = Pictures % PicturesInARow;
  5. Console.WriteLine("Всего заполненых рядов: " + FilledRows);
  6. Console.WriteLine("Картинок сверх меры: " + TheRemainingPictures);
  7. Console.ReadKey();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement