Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: ian18 on May 5, 2018



Title: Which is the correct way to swap the value of elements K and J in an array named Price?
Post by: ian18 on May 5, 2018
Which is the correct way to swap the value of elements K and J in an array named Price?
a.   Set Temp = Price[K]
Set Price[K] = Price[J]
Set Price[J] = Temp   b.   Set Temp = Price[K]
Set Price[J] = Temp
Set Price[K] = Price[J]
c.   Set Price[K] = Temp
Set Price[J] = Price[K]
Set Temp = Price[J]   d.   Set Price[K] = Temp
Set Temp = Price[J]
Set Price[J] = Price[K]


Title: Re: Which is the correct way to swap the value of elements K and J in an array named Price?
Post by: penia_smiles on May 5, 2018
Content hidden