Question: CODE HAS TO BE IN JAVA cProgramming Project - Even or Odd Counter For this project, you will complete a Java program that Project Description

CODE HAS TO BE IN JAVA

cProgramming Project - Even or Odd Counter

For this project, you will complete a Java program that

Project Description

Create a Java class called EvenOrOddCounter(you may also download the empty class for this project from the class GitHub repository)

Add a comment at the top of your code file with your name, course name & section, and todays date (the format for this is up to you, but be clear & consistent)

Prompt the user for integers and count how many of them are even and how many are odd - continue until the user enters a number less than or equal to 0

Display how many numbers the user entered along with how many odd and even numbers

Note that the specific design is up to you, but you must have at least one switch for when you determine the winner.

Sample Output:

Even or Odd Counter

----------------------

Please enter a series of integer values. 0 to quit.

Enter value 1: 34

Enter value 2: -2

Enter value 3: 3

Enter value 4: 0

The Results

-----------

Total values entered: 3

Even values entered : 2

Odd values entered : 1

Even or Odd Counter

----------------------

Please enter a series of integer values. 0 to quit.

Enter value 1: 0

The Results

-----------

No Values were entered.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!