QuestionBased on the pseudocode I wrote, create a flowchart for the method… Based on the pseudocode I wrote, create a flowchart for the method you selected. Your flowchart will help your team communicate to your client how you are planning to develop the software. In your flowchart, be sure to do the following:Include start and end points.clude appropriate decision branching.Pseudocode :BEGINDeclare string array dog_names of size 30.Initialize all the elements of the array to an empty string.Declare string array cat_names of size 12.Initialize all the elements of the array to an empty string.Declare an integer array dog_stay_duration of size 30.Initialize all the elements of the array to 0.Declare an integer array cat_stay_duration of size 12. Initialize all the elements of the array to 0.Initialize integer dog_space = 0Initialize integer cat_space = 0Ask the new user about the type of pet. if pet = cat then if cat_space <12 Ask the new user about the name of the cat. Initialize cat_names [ cat_space ] = name Ask the new user about the length of stay in days. Initialize cat_stay_duration [ cat_space ] = days cat_space = cat_space + 1 else Display the message "There is no space. Kindly come again tomorrow." if pet is dog then if dog_space < 30 Ask the new user about the name of the dog. Initialize dog_names [ dog_space ] = name Ask the returning user about the length of stay in days. Initialize dog_stay_duration [ dog_space ] = days dog_space = dog_space + 1 else Display the message "There is no space. Kindly come again tomorrow." Ask the returning user about the type of pet if pet = cat then Ask the returning user the name of the cat. Initialize integer variable idx to 0. while cat_names[idx] is not null if cat_names[idx] == namecat_names[idx] == ""cat_stay_duration[idx] = 0 move each element of cat_names array up by 1 position so that there is no empty string. move each element of cat_stay_duration up by 1 position so that there is no0. cat_space = cat_space - 1 if pet is dog then Ask the returning user the name of the dog. Initialize integer variable idx to 0. while dog_names[idx] is not null if dog_names[idx] == namedog_names[idx] == ""dog_stay_duration[idx] = 0 move each element of dog_names array up by 1 position so that there is no empty string. move each element of dog_stay_duration up by 1 position so that there is no0. dog_space = dog_space - 1ENDComputer ScienceEngineering & TechnologyPython Programming IT 100 17SPIT
solved : QuestionBased on the pseudocode I wrote, create a flowchart
How it works
- Paste your instructions in the instructions box. You can also attach an instructions file
- Select the writer category, deadline, education level and review the instructionsÂ
- Make a payment for the order to be assigned to a writer
- Â Download the paper after the writer uploads itÂ
Will the writer plagiarize my essay?
You will get a plagiarism-free paper and you can get an originality report upon request.
Is this service safe?
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
LET THE PROFESSIONALS WRITE YOUR PAPER!