Fermé

I need a java code

Write a java code to accept an integer array of user-defined length from the user. Then write methods to take care of the following tasks. Check your methods in the main method of your program (3 points).

A method that finds the sum of the maximum value and the minimum value among all the elements of the array. (3 points)

Example: 10 15 4 19 2 12

The maximum value is 19 and the minimum value is 2. So the output should be 21.

A method that finds the largest gap between any two elements of the array. (4 points)

Example: 3 6 7 10

The largest gap can be found between 3 and 10 which is 10 - 3 = 7, hence the output 7.

A method that finds the Length of the Longest Arithmetic Progression in it. (5 points)

Example: 1 7 10 15 27 29

The Longest Arithmetic Progression in the array is {1, 15, 29}, and its length is 3, hence the output 3.

Compétences : Java, Architecture Logicielle, JavaScript, Programmation C, PHP

En voir plus : need java code hangman game, need java code written, need java code server client game backgammon, i need a code for buoyancy od circle, i need php code for creating mobile tracker, i need java programmer in hyderabad, i need a code for programming, i need a phd research proposal writer who can write 3 4 research proposals on potential phd research topics in the following are, i need java 7, i need java instructor freelancer, i need a code, do i need java on windows 10, do i need java on windows 7, do i need java on my computer, do i need java 2018, do i need java windows 10 2018, do i need a code signing certificate, do i need java on my mac, do i need java on windows 10 2019, do i need java 2019

Concernant l'employeur :
( 0 commentaires ) Wylie, United States

Nº du projet : #31552299

39 freelances font une offre moyenne de 25 $ pour ce travail

it2051229

Hi there, I went through the requirements and I would like to do this project if given the opportunity. Let me know if you are interested.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1445 Commentaires)
7.9
urmate

Hi I have checked your project description. I have excellent programming and development skills. Contact me with all the details and requirements for your project for further discussion. I will provide you dedicated s Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(721 Commentaires)
7.6
(163 Commentaires)
7.4
(254 Commentaires)
7.1
(309 Commentaires)
6.9
ExpertSoul

Good day, I've complete Phd Software Engineering. I've 5-Year experience in Java development and algorithm implementation. My Core Expertise in Java - C++ - C - object-oriented - Data Structure - Swing - OpenGL - JavaF Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(178 Commentaires)
6.7
nourreddinebenme

hello sir i have good experience in java when i complete your project you can check and then you can accept my bid feel free to message me :)

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(140 Commentaires)
6.1
HaryCoders

Thanks for posting " I need a java code " project I read your description carefully. As a software expert, I am very interested in your project. I hope to discuss this project with you. I think we can get good results Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(69 Commentaires)
5.9
(79 Commentaires)
5.7
khizaramjad815

I have my major expertise in C++, Java & Python. I have done many projects and have experience of 4+ years. Just check me out. I will complete your project. Let me know about all the details! I won't disappoint you. If Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(17 Commentaires)
5.2
(77 Commentaires)
5.1
esa59cfdec1d6569

Hi there, I checked your requirements and guarantee you it's gonna be done within the next few hours. Let's contact via chat so that I can start work immediately. Wish you the best. --------------------------

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(37 Commentaires)
4.8
CodingHelpLine

Hello Sir/Madam I have development experience in various Programming Languages, OOP, Data Structures, Database Driven applications, APIs, Files handling and Data Transformation, ETL and various frameworks. I assure y Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(41 Commentaires)
4.6
vitaliydudar7

Hello? How are you? Thanks for posting this job. I am a Senior Java developer with 7+ years experience in JavaFX and Java Swing. I have been doing this kind of Java projects many times. Please let me know. Best Regards

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(9 Commentaires)
3.7
normanburtonfree

Hello client, I wish you the best of luck in everything with you. As a professional developer, I have many years experiences of this field. Please feel free to contact me and let’s discuss about your job in detail t Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(7 Commentaires)
3.7
Daulatzai

Hi there. I understood your requirements I am, ready to write a program for you in Java to find all those values

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(4 Commentaires)
2.8
(2 Commentaires)
3.0
vrusungu

GOOD IN JAVA/JAVA SCRIPT HELLO DEAR CLIENT I have gone through your project details and the work is DOABLE since its within my area of EXPERTISE.I will tackle are required guideline to deliver desired goal Please consi Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(2 Commentaires)
2.4
SM8Siddu

Hi, I have gone through your requirements. I can do your work. I am working as full-time freelancer from two years and I have 4 years of experience. If interested please feel free to contact. Thanks and regards, Shidar Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(4 Commentaires)
2.1
abdf2010

Hi, It is easy,I can do on time.I work online, where you can track progress of your project.I have 6 years of experience in development(websites,web applications,mobile apps, desktop applications,UI/UX), using PHP, Wor Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(2 Commentaires)
0.6