Here you can find the source of min3(int a, int b, int c)
public static int min3(int a, int b, int c)
//package com.java2s; //License from project: Open Source License public class Main { public static int min3(int a, int b, int c) { if (a < b) { return (a < c) ? a : c; }/*from w ww . j av a 2 s. c o m*/ return (b < c) ? b : c; } }