Greatest

Write a program in java to find to greatest and smallest number between three number?

class GreatestSmallest {                 public static void main(String arg[])                 {                                 int a=5,b=7,c=9;                                 if((a>b)&&(a>c))                                 {                                                 System.out.println(“Greatest…

Read More