View Code of Problem 75

#include<bits/stdc++.h>
using namespace std;

int main()
{
	int a[10];
	for(int i=0;i<10;i++) 
		cin>>a[i];
	sort(a,a+10);
	for(int i=0;i<10;i++) 
		cout<<a[i]<<endl;
	return 0;
 } 

Double click to view unformatted code.


Back to problem 75