write a java program named Counter that asks the user to enter 12 real number and store them in an array. Than it should find and display hoe many numbers are divisible by 3 in the array. the user should enter numbers in response to a message. A simple run of the program: Enter 12 real numbers: 55  101  44  39  17  99  27  42  11  37  61  51 there are 5 numbers are divisible by 3 in the array.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Modularization Techniques
Section: Chapter Questions
Problem 2GZ
icon
Related questions
Question

using dr java

write a java program named Counter that asks the user to enter 12 real number and store them in an array. Than it should find and display hoe many numbers are divisible by 3 in the array. the user should enter numbers in response to a message.

A simple run of the program:

Enter 12 real numbers:

55  101  44  39  17  99  27  42  11  37  61  51

there are 5 numbers are divisible by 3 in the array.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Arrays
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
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT