Write a program for generating a fake DNA background report for the user's dog
How to Generate a Fake DNA Background Report for Your Dog
Are you curious about the ancestry of your furry friend? With this program, you can create a fun and fictitious DNA background report for your dog. Follow the steps below to learn how to generate a report that includes percentages of different dog breeds.
Step 1: Enter the name of your dog when prompted by the program.
Step 2: The program will generate random percentages for 5 different dog breeds.
Step 3: The percentages should add up to 100% in total, providing a unique and humorous background for your pet.
Example Output:
What is your dog's name?
// Entering name of dog
Sir [dog's name] is
54% St. Bernard
12% Chihuahua
23% Dramatic RedNosed Asian Pug
8% Common Cur
3% King Doberman
Wow, that's QUITE the dog!
What should the program output after the user enters their dog's name? The program should output a fake DNA background report with random percentages assigned to 5 different dog breeds that add up to 100%.