Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Biggest_of_Three
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             double num1 = double.Parse(Console.ReadLine());
  10.             double num2 = double.Parse(Console.ReadLine());
  11.             double num3 = double.Parse(Console.ReadLine());
  12.  
  13.             double max = Math.Max(num1, (Math.Max(num2, num3)));
  14.  
  15.             Console.WriteLine(max);
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement