Untitled
Anonymous
c_cpp
10/22/2023 9:49 AM
264 B
18
Indexable
#include <iostream>
using namespace std;
int main()
{
int max = 0;
int tmp = 1;
while (cin >> tmp && tmp != 0) {
if (tmp > max) max = tmp;
}
cout << max;
}Editor is loading...