Last active
January 8, 2024 16:57
-
-
Save QRemark/043d31473c58c26df25306b5fe6c45be to your computer and use it in GitHub Desktop.
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Security.Policy; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace homeWork1 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int picture = 52; | |
int line = 3; | |
int fullDisplay; | |
int remainder; | |
fullDisplay = picture / line; | |
remainder = picture % line; | |
Console.WriteLine($"Число полностью заполненных экранов равно: {fullDisplay}."); | |
Console.WriteLine($"Число картинок сверх меры равно: {remainder}."); | |
Console.ReadKey(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment