Question: Q5: Write an algorithm using pseudocode. The algorithm read 2000000 numbers (positive and negative). Your algorithm has to print either Positive is more... when the

 Q5: Write an algorithm using pseudocode. The algorithm read 2000000 numbers

Q5: Write an algorithm using pseudocode. The algorithm read 2000000 numbers (positive and negative). Your algorithm has to print either "Positive is more... when the number of positive numbers is more than the number of negative numbers, or it prints "Same" when the number of positive numbers is equal to the number of negative numbers, otherwise it prints "Negative is more

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!