C1. Write a Java program named Counter that asks the user to enter 15 real numbers and store them in an array. Then it should find and display how many numbers are below 25 in the array. The user should enter ten numbers in response to a message. A sample run of the program: Enter 15 real numbers: 55 101 -44 39 17 99 0 42 11 37 61 -51 78 213 55.75 There are 5 numbers are below 25 in the array.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question
C1. Write a Java program named Counter that asks the user to enter 15 real numbers and store them in an
array. Then it should find and display how many numbers are below 25 in the array. The user should enter ten
numbers in response to a message.
A sample run of the program:
Enter 15 real numbers:
55
101
-44 39 17 99 0
42 11 37
61 -51
78
213 55.75
There are 5 numbers are below 25 in the array.
Transcribed Image Text:C1. Write a Java program named Counter that asks the user to enter 15 real numbers and store them in an array. Then it should find and display how many numbers are below 25 in the array. The user should enter ten numbers in response to a message. A sample run of the program: Enter 15 real numbers: 55 101 -44 39 17 99 0 42 11 37 61 -51 78 213 55.75 There are 5 numbers are below 25 in the array.
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning