Created
February 23, 2016 18:35
-
-
Save ilyaBrandon/72697cae04904d2a49d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BATTLEFRONT { | |
public static void main(String[] args) { | |
System.out.println(min(2,2,8)); | |
} | |
static int min(int a,int b,int c){ | |
int result=a; | |
if(result > b ){result= b; | |
} | |
if(result>c){ result=c; | |
} | |
return result; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment