Question: A class or classes necessary to create objects to be used by a program that meets the following requirements: A person object. It should be



A class or classes necessary to create objects to be used by a program that meets the following requirements:

  1. A person object. It should be able to create and hold demographic information for a person including Name, Age, and Phone Number. That information should be expected to be received and assigned within the class. You should also expect that the information will be able to be accessed by a main program at will. There will be at least 10 instances of this one object (people) that will be created by the main program.
  2. There should be an object that will be used to generate and store the count of each instance of 1000 random numbers between 2 and 12 and the results of the outputs will then be assigned to the corresponding instance of a person object.
  3. There should be a method that generates a winner based on results from the other methods.
  4. The methods should only include concepts and code covered in the course.


The classes must work and be tested to function as intended and SUBMITTED to Blackboard by Thursday night. At that time you will be given requirements for the main program.


A class or classes necessary to create objects to be used by a program that meets the following requirements:

You have been asked to write a program that will act as the tie-breaker for the 2020 presidential election. In the event of a three way tie, your program will pick the ultimate winner. Using your classes that you have already created, your final program should look something like this:


here a explain

Candidate #1: Input Name and Information

Candidate #2 :Input Name and Information

Candidate#3 : Input Name and Information

.

.

Candidate#10 : Input Name and Information

The winner of the 2020 presidential election is: [name].


The program MUST use at least one external class that you have written.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To create a program that meets the given requirements youll need to define two main classes Person and RandomNumberCounter The Person class will hold ... View full answer

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 Operating System Questions!