View Code of Problem 68

#include <iostream>
#include <algorithm>
using namespace std;
int main() {
	int a[3];
	for (int i = 0; i < 3; i++)
	{
		cin >> a[i];
	}
	sort(a, a + 3);
	cout << a[2];
}

Double click to view unformatted code.


Back to problem 68