Advertisement
IvanITD

02.GreateNumer

Jan 15th, 2024
648
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.18 KB | Source Code | 0 0
  1. int num1 = int.Parse(Console.ReadLine());
  2. int num2 = int.Parse(Console.ReadLine());
  3.  
  4. if (num1 > num2)
  5. {
  6.     Console.WriteLine(num1);
  7. }
  8. else
  9. {
  10.     Console.WriteLine(num2);
  11. }
  12.  
Tags: C#
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement