View Code of Problem 75

#include<bits/stdc++.h>
using namespace std;
int main(){
	int c[10];
	for(int i=0;i<10;i++){
		cin>>c[i];
	}
	sort(c,c+10);
	for(int j=0;j<10;j++){
		cout<<c[j]<<endl;
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 75