Advertisement
kisame1313

Untitled

Jul 14th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.35 KB | None | 0 0
  1. using System;
  2.  
  3. namespace ForLesson15
  4.     {
  5.     class Program
  6.         {
  7.         static void Main(string[] args)
  8.             {
  9.             Console.WriteLine( MinValue(3,10,220));
  10.             }
  11.         static int MinValue (int i, int j, int k)
  12.             {
  13.             return i<=j ? (i<=k  ? i : k):( j<=k ? j : k );
  14.             }
  15.         }
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement