Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

To create a program that meets the given requirements youll need to define two main classes Person and RandomNumberCounter The Person class will hold ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Entrepreneurship

Authors: Andrew Zacharakis, William D Bygrave

5th Edition

1119563097, 9781119563099

More Books

Students also viewed these Operating System questions

Question

Is the timing right to launch your venture?

Answered: 1 week ago

Question

What social problems are of particular interest to you?

Answered: 1 week ago