subject

Write a class analyzenumbers which asks the user to enter the number of inputs andstores them in an array, then prints the array that was inputted, calculates the sum ofthe numbers entered and prints the total numbers greater than the first inputtednumber: two sample runsenter the number of items: 5enter the numbers: 3.4 5 6 7.1 9you inputted: 3.4 5.0 6.0 7.1 9.0sum is: 30.5number of elements greater than the first element: 4enter the number of items: 3enter the numbers: 6.7 1.5 3.2you inputted: 6.7 1.5 3.2sum is: 11.4number of elements greater than the first element: 0

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:20
Write a program called assignment3 (saved in a ļ¬le assignment3.java) that computes the greatest common divisor of two given integers. one of the oldest numerical algorithms was described by the greek mathematician, euclid, in 300 b.c. it is a simple but very eā†µective algorithm that computes the greatest common divisor of two given integers. for instance, given integers 24 and 18, the greatest common divisor is 6, because 6 is the largest integer that divides evenly into both 24 and 18. we will denote the greatest common divisor of x and y as gcd(x, y). the algorithm is based on the clever idea that the gcd(x, y) = gcd(x ! y, y) if x > = y and gcd(x, y) = gcd(x, y ! x) if x < y. the algorithm consists of a series of steps (loop iterations) where the ā€œlargerā€ integer is replaced by the diā†µerence of the larger and smaller integer. this continues until the two values are equal. that is then the gcd.
Answers: 3
question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. a company is currently focusing on creating specific management goals for itself. which level of maturity is the company demonstrating under the sse_ccm framework? a. performed informally b. planned and tracked c. quantitatively controlled d. well-defined e. continuously improving
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
You know the right answer?
Write a class analyzenumbers which asks the user to enter the number of inputs andstores them in an...
Questions
question
History, 22.01.2021 23:10
question
Mathematics, 22.01.2021 23:10
question
Biology, 22.01.2021 23:10