Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace BiggerNumber
- {
- class Program
- {
- static void Main(string[] args)
- {
- int num1 = int.Parse(Console.ReadLine());
- int num2 = int.Parse(Console.ReadLine());
- // num1 > num2
- // num2 > num1
- // num1 == num2
- if (num1 > num2)
- {
- Console.WriteLine(num1);
- }
- if (num2 > num1)
- {
- Console.WriteLine(num2);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement