Menu
Question Index
...

Write a program to get the minimum value of 3 numbers.



class FindMinNumber
{
    public static void main(String s[])
    {
        System.out.println("The minimum number in 3, 7 and 10 is " + findMinimum(3,7,10));

    }


    public static int findMinimum(int a, int b, int c)
    {
        int result = 0;
        return result;
    }

}

Doubts

Problems

Topic: Ternary Operator In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App