Skip to content

Simple number analyzer in Java – A basic console application that analyzes a list of integers, calculates sum, average, min, max, sorts them, and allows searching for specific numbers.

Notifications You must be signed in to change notification settings

PeterPcolinsky/NumberAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumberAnalyzer

A simple beginner-friendly Java console application that:

  • Calculates sum, average, minimum, and maximum of entered numbers
  • Sorts the numbers
  • Allows repeated number searches
  • Supports entering a new dataset

How to run

Compile and run Main.java in your preferred Java IDE or from the terminal.

Features

  • Input validation for integers only
  • Works in a loop until the user chooses to exit
  • Simple and readable code for Java beginners

Technologies Used

  • Java SE
  • Java Arrays utility class (java.util.Arrays)

Example input/output

Input:

5 19 20 40 23

Output:

Sum: 107
Average: 21.4
Minimum: 5
Maximum: 40
Sorted: [5, 19, 20, 23, 40]

About

Simple number analyzer in Java – A basic console application that analyzes a list of integers, calculates sum, average, min, max, sorts them, and allows searching for specific numbers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages