Computers and Technology
Computers and Technology, 03.04.2021 08:30, ellie4678

In the video game Animal Crossing: New Horizons, villagers are organized by Personality and Hobby. The 8 Personalities are:

Normal
Lazy
Sisterly
Snooty
Cranky
Jock
Peppy
Smug

The 6 Hobbies are:

Education
Fashion
Fitness
Music
Nature
Playing

Create a program that allows the user to create their own Animal Crossing villager. The user should be able to enter a name, after which the program will choose a random Hobby and Personality for the villager:

"Please enter a Villager Name:
>> Betsy
Betsy is Snooty and into Nature"

The program should store both the Hobbies and Personalities in lists, and when creating a villager it should randomly choose from each list for the personality.

Requirements:
· Both Personalities and Hobbies must be stored in lists
· You must generate a different random number to determine the hobby and personality (that is, don't generate 1 random number and use it for both lists, as that prevents many combinations)
· In randomizing, you should make sure that all combinations are possible (that is, make sure you don't accidentally leave out a personality or hobby from random generation)
· The program shouldn't crash

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:30, studybug2306
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
image
Computers and Technology, 23.06.2019 15:00, hunteryolanda82
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
image
Computers and Technology, 23.06.2019 18:30, emmaishere69
List 3 items that were on kens resume that should have been excluded
Answers: 1
image
Computers and Technology, 24.06.2019 04:30, NEUROPHARMACOLOGICAL
The ieee 802.11: defines standards for wireless local area network (wlan) communication protocols. identifies various computers or devices connected to a network. verifies any resource attached to another computer on a network that is different from the computer to which the user is logged on. connects multiple local area networks (lans) and wide area networks (wans).
Answers: 2
Do you know the correct answer?
In the video game Animal Crossing: New Horizons, villagers are organized by Personality and Hobby....

Questions in other subjects:

Konu
Geography, 27.09.2019 12:00