C # implementation to find the smallest of three elements
using System ; class GFG { static public void Main ( ) { int a = 5 , b = 7 , c = 10 ; if ( a <= b && a <= c ) Console . WriteLine ( a + " ▁ is ▁ the ▁ smallest " ) ; else if ( b <= a && b <= c ) Console . WriteLine ( b + " ▁ is ▁ the ▁ smallest " ) ; else Console . WriteLine ( c + " ▁ is ▁ the ▁ smallest " ) ; } }