Advertisement
SamuilPetrow

Console Input/Output - Task 4

Mar 14th, 2014
1,356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. namespace ConsoleInputOutput
  4. {
  5.     public static class PrintBigger
  6.     {
  7.         public static void Main()
  8.         {
  9.             double firstNumber = double.Parse(Console.ReadLine());
  10.             double secondNumber = double.Parse(Console.ReadLine());
  11.             double desiredNumber = Math.Max(firstNumber, secondNumber);
  12.             Console.WriteLine(desiredNumber);
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement