Question
Java Write a program that will normalize the 5 floating numbers saved in the array STATS. To normalize an array of numbers, first find the
Java
Write a program that will normalize the 5 floating numbers saved in the array STATS. To normalize an array of numbers, first find the largest number in the array, and then divide each number in the array by the largest number. Each resulting value will then be between 0 and 1. Example of the output are: Enter your numbers: 34 87 23 100 56 The largest number:100 The value after divide by 100 is: 0.34 The value after divide by 100 is: 0.87 The value after divide by 100 is: 0.23 The value after divide by 100 is: 1.00 The value after divide by 100 is: 0.56
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started