Skip to content

StudentsOnly/12-java-integer-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Exercise: Find the Sum, Max, Min, and Average of an Array of Integers

Objective:

  • The objective of this assignment is to practice fundamental array operations in Java.
  • You should implement a program that performs basic tasks on an array of integers.

Instructions:

  • You are given an array of integers: int[] numbers = {16, 8, 23, 35, 11, 6, 19};

  • Your task is to implement a Java program that performs the following tasks:

    • Calculate the sum of all integers in the array.
    • Find and display the maximum value in the array.
    • Find and display the minimum value in the array.
    • Calculate and display the average value of the integers in the array.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages