October 2019 1 34 Report
Bahasa Pemograman Java. Buatlah aplikasi java yang dapat mengambil nilai suatu array dan mencari selisih nilai terendah dan tertinggi.

----------
Input :
a : [ 1 , 2 , 8 , 3 ]

Output :
a = 7
----------
Input :
a : [ 1 , 20 , 50 , -3 ]

Output :
a = 53
----------
Input :
a : [ 5 , 5 , 5 , 5 ]

Output :
a = 0;

Tambahkan sedikit penjelasan
More Questions From This User See All

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.