eng

Anonymous
c_cpp
10/25/2023 3:22 PM
248 B
24
Indexable
#include <iostream>
#include <string>
using namespace std;

int main()
{
	int max = 0;
	int a;
	while (cin >> a and a!=0)
	{
		if (a > max) max = a;
    }
		cout << max;
}
Editor is loading...