subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:10
How does access indicates that a filter has been applied to a specific column
Answers: 1
question
Computers and Technology, 22.06.2019 13:50
The instruction ishl (shift left integer) exists in jvm but not in ijvm. it uses the top two values on the stack, replacing the two with a single value, the result. the sec- ond-from-top word of the stack is the operand to be shifted. its content is shifted left by a value between 0 and 31, inclusive, depending on the value of the 5 least signifi- cant bits of the top word on the stack (the other 27 bits of the top word are ignored). zeros are shifted in from the right for as many bits as the shift count. the opcode for ishl is 120 (0x78).a. what is the arithmetic operation equivalent to shifting left with a count of 2? b. extend the microcode to include this instruction as a part of ijv.
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krótkofalówke w the walking dead w 4 epizodzie
Answers: 1
question
Computers and Technology, 23.06.2019 01:00
Complete the sentence about a presentation delivery method
Answers: 2
You know the right answer?
In the video game Animal Crossing: New Horizons, villagers are organized by Personality and Hobby....
Questions
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Health, 11.09.2020 14:01
question
Geography, 11.09.2020 14:01
question
Chemistry, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
Biology, 11.09.2020 14:01
question
Mathematics, 11.09.2020 14:01
question
English, 11.09.2020 14:01
Questions on the website: 13722361