✅ 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;}