Last active
April 16, 2022 10:43
-
-
Save Mazday21/c70f69f377d677a359c7f31f269b91d2 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.Text; | |
using System.Threading.Tasks; | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int lenght = 5; | |
int height = 3; | |
Console.WriteLine($"Длина = {lenght}\nВысота = {height}"); | |
Console.WriteLine("--------------------------------------"); | |
int temp = lenght; | |
lenght = height; | |
height = temp; | |
Console.WriteLine($"Длина = {lenght}\nВысота = {height}"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment