Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Homework
- {
- using System;
- public class ExchangeVariableValues
- {
- public static void Main()
- {
- int a = int.Parse(Console.ReadLine());
- int b = int.Parse(Console.ReadLine());
- int c = a;
- a = b;
- b = c;
- Console.WriteLine(a);
- Console.WriteLine(b);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement