+ 3
What language? Python: num1, num2, num3 = 3, 5, 4 print(min(num1, min(num2, num3))) C++: #include <iostream> #include <math.h> using namespace std; int main() { int num1 = 3, num2 = 5, num3 = 4; cout << min(num1, min(num2, num3)); return 0; } Java: public class Program { public static void main(String[] args) { int num1 = 3, num2 = 5, num3 = 4; System.out.println(Math.min(num1, Math.min(num2, num3))); } }
22nd Oct 2017, 4:09 PM
ChaoticDawg
ChaoticDawg - avatar