You are viewing a single comment's thread. Return to all comments →
#include <bits/stdc++.h> using namespace std; int main(int argc, char const *argv[]) { int num, tmp; num = tmp = 0; for (int i = 0; i < 4; i++) { cin >> tmp; if (tmp > num) num = tmp; } cout << num; return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Functions
You are viewing a single comment's thread. Return to all comments →
C++ 17