Advertisement
Guest User

Untitled

a guest
May 1st, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. public class Main {
  2.  
  3.  
  4. public static void main(String[] args) {
  5.  
  6. min(5, 6, 7);
  7.  
  8.  
  9.  
  10. }
  11.  
  12. public static int min(int a, int b, int c) {
  13. int x = 0;
  14. x = Math.min(a, Math.min(b, c));
  15. return x;
  16.  
  17. System.out.println( " The lowest digit is:" + x);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement