theshivvam Asked: December 2022 write a program in java to input an array and print largest and smallest element