Question: 1. Create a flowchart using Raptor and 2. Write Python code that allow the user to enter any number of positive and negative integers values
1. Create a flowchart using Raptor and
2. Write Python code
that allow the user to enter any number of positive and negative integers values and display the number of positive values entered as well as the number of negative values entered. The program/flowchart stops when the user enters 0.
Test both the flowchart as well as the program. Make sure that it prompts for the input, com- putes and displays the result as specified. Debug your code as necessary until it complies with all requirements.
The Raptor flowchart and Python code should prompt for user input and display results as given in the sample interactions below.
2.1 Sample Interaction
Enter an integer: 3 Enter an integer: 2 Enter an integer: -3 Enter an integer: 1 Enter an integer: 0 Number of positives 3 Number of negatives 1
Enter an integer: 2 Enter an integer: 3 Enter an integer: 0 Number of positives 2 Number of negatives 0
Enter an integer: -3 Enter an integer: -2 Enter an integer: 0 Number of positives 0 Number of negatives 2
Enter an integer: 0 Number of positives 0 Number of negatives 0
1
PLease put comments for me to understand.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
