Program to find the smallest element among three elements | Javascript implementation to find the smallest of three elements
let a = 5 , b = 7 , c = 10 ; if ( a <= b && a <= c ) document . write ( a + " " ) ; else if ( b <= a && b <= c ) document . write ( b + " " ) ; else document . write ( c + " " ) ;