Question: Objective: Studying loop logic structure. Draw flowcharts or coupling diagrams for the solution of the following problems by using draw.io 1. Summation of InputsI: Design

Objective: Studying loop logic structure. Draw flowcharts or coupling diagrams for the solution of the following problems by using draw.io 1. Summation of InputsI: Design a solution for computing sums. Show the solution by drawing a flowchart - Ask a user to input an N (the number of integers) - Ask a user to input a set of N integers: each of the integers can be a negative integer or a positive integer - If a positive integer is received, it should be added to make a positive total by the formula of P = P A . where A is a variable that stores the positive integer and P is a variable that stores the positive summation - If a negative integer is received, it should be added to make a a negative total by the formula of N N + A, where A is a variable that stores the negative integer and N is a variable that stores the negative summation -After the loop terminated, the totals (the sum of the positive numbers and the sum of the negative numbers) should be displayed. - Save your file as YourIslandIDSum1.pdf 2. Summation of Inputs II Design a solution for computing sums. Your solution is consisting of three modules: Control, C, and P. Show the solution by drawing a coupling diagram and each of the modules by drawing a - Control: receives an N from a user, sends data to and receives data from C, or P - C: receives N numbers one by one from a user . If a positive integer is received, it should be added to make a positive total by the formula of P = P + A where A is a variable that stores the positive integer and P is a variable that stores the positive summation. . If a negative integer is received, it should be added to make a a negative total by the formula of N-N+A, where A is a variable that stores the negative integer and N is a variable that stores the negative summation. -P: display the positive sum and the negative sum - Save your file as YourIslandIDSum2.pdf 3. Submit your file as: YourIslandID Homework3.zip via the blackboard
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
