Question: Write a program that can help celebrities keep track of their followers. The program will determine the number of celebrities as user input. It will
Write a program that can help celebrities keep track of their followers. The program will determine the
number of celebrities as user input. It will then ask for the names of each celebrity before displaying the
names of each celebrity and the number of followers they have.
Tasks
The program needs to contain the following
a A comment header containing your name and a brief description of the program
b At least comments besides the comment header explaining what your code does
c In the main:
i Ask the user for the number of celebrities.
ii Create a string array of size equal to the number.
iii. Ask the user to provide names for each index of the array.
iv Output each name along with a random number of followers that celebrity has.
The range of followers is from to
d Validate for the following cases, repeat the question until the user enters a valid input:
i Noninteger input
ii Negative numeric input
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
