logo

Crowdly

Browser

Add to Chrome

Що робить наступний код? for(int i=1;i<n;i++) for(int j=n-1;j>=i;j--) ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Що робить наступний код?

for(int

i=1;i<n;i++)

for(int

j=n-1;j>=i;j--)

if(a[j]<a[j-1])

{

int r=a[j];

a[j]=a[j-1];

a[j-1]=r;}

More questions like this

Want instant access to all verified answers on dl.nure.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome