Choose the appropriate portion to complete the Algorithm written to find the summation of positive (SP) and negative (SN) values for 200 numbers. Then print the square root for (SP) and cubic value...


Choose the appropriate portion to complete the Algorithm written to find the<br>summation of positive (SP) and negative (SN) values for 200 numbers. Then<br>print the square root for (SP) and cubic value for (SN)<br>1-Start<br>2- SP=0, SN=0<br>3- I=0<br>4-1-I+1<br>4-1=1+1<br>5-Read X<br>5-Read X<br>6-If X>0, then SP-SP+X<br>6-If X>0, then SP-SP+X<br>7- IfX<0, then SN=SN+X, go to 9<br>7- If X<0, then SN-SN+X<br>8- R= (SP) *05, go to 10<br>8- R- (SP) *0.5, go to 10<br>9- C= (SN) ^ 3<br>9- C- (SN) 3<br>10- Check that if I<200, then return to step 4<br>10- Check that ifI<200, then return to step 4<br>11-Print the value of R and C<br>11-Print the value of SP and SN<br>12-End<br>12-End<br>the answer Is O<br>the Answer is<br>4--I+1<br>4-1=I+1<br>S-Read X<br>5-Read X<br>6-IX<0, then SP-SP+X<br>6-IfX>0, then SP-SP+X<br>7- IX>0, then SN-SN+X, go to 9<br>7- IfX<0, then SN=SN+X, go to 9<br>8-R- (SP) , go to 10<br>8- R-(SP) *05<br>9-C-(SN) 3<br>9-C- (SN) ^ 3<br>10- Check that if I<200, then return to step 4<br>10- Check that ifI<200, then return to step 4<br>11-Print the value of SP and SN<br>12-End<br>11-Print the value of R and C<br>12-End<br>the answer is<br>The answer is<br>

Extracted text: Choose the appropriate portion to complete the Algorithm written to find the summation of positive (SP) and negative (SN) values for 200 numbers. Then print the square root for (SP) and cubic value for (SN) 1-Start 2- SP=0, SN=0 3- I=0 4-1-I+1 4-1=1+1 5-Read X 5-Read X 6-If X>0, then SP-SP+X 6-If X>0, then SP-SP+X 7- IfX<0, then="" sn="SN+X," go="" to="" 9="" 7-="" if=""><0, then="" sn-sn+x="" 8-="" r="(SP)" *05,="" go="" to="" 10="" 8-="" r-="" (sp)="" *0.5,="" go="" to="" 10="" 9-="" c="(SN)" ^="" 3="" 9-="" c-="" (sn)="" 3="" 10-="" check="" that="" if=""><200, then="" return="" to="" step="" 4="" 10-="" check="" that=""><200, then="" return="" to="" step="" 4="" 11-print="" the="" value="" of="" r="" and="" c="" 11-print="" the="" value="" of="" sp="" and="" sn="" 12-end="" 12-end="" the="" answer="" is="" o="" the="" answer="" is="" 4--i+1="" 4-1="I+1" s-read="" x="" 5-read="" x=""><0, then="" sp-sp+x="" 6-ifx="">0, then SP-SP+X 7- IX>0, then SN-SN+X, go to 9 7- IfX<0, then="" sn="SN+X," go="" to="" 9="" 8-r-="" (sp)="" ,="" go="" to="" 10="" 8-="" r-(sp)="" *05="" 9-c-(sn)="" 3="" 9-c-="" (sn)="" ^="" 3="" 10-="" check="" that="" if=""><200, then="" return="" to="" step="" 4="" 10-="" check="" that=""><200, then="" return="" to="" step="" 4="" 11-print="" the="" value="" of="" sp="" and="" sn="" 12-end="" 11-print="" the="" value="" of="" r="" and="" c="" 12-end="" the="" answer="" is="" the="" answer="">

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here