View Code of Problem 76

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n,i;
	int a[10];
	for(i=0;i<10;i++)
	scanf("%d",&a[i]);
	sort(a,a+10);
	for(i=0;i<10;i++)
	printf("%d\n",a[i]);
	return 0;
}

Double click to view unformatted code.


Back to problem 76