Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace ConsoleApp
- {
- class Program
- {
- static void Main(string[] args)
- {
- string tea = "Чаечек";
- string coffee = "Кофеёк";
- string bigGlass = "Большой стакан";
- Console.WriteLine($"В первой кружечке {tea}, а во второй {coffee}");
- Console.WriteLine($"Переливаем чай в большой стакан");
- bigGlass = tea;
- Console.WriteLine($"Теперь у нас чай в большом стакане");
- Console.WriteLine($"Переливаем кофе в стакан от чая");
- tea = coffee;
- Console.WriteLine($"Теперь переливаем из большого стакана в стакан от кофе");
- coffee = bigGlass;
- Console.WriteLine($"Вот теперь самое оно {tea} в первой и {coffee} во второй");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement