eng
unknown
c_cpp
2 years ago
184 B
12
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...