Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by dfgdfg ( 15 years ago )
#include <iostream>
#include <cstdlib>

using namespace std;

int main() {
 int max = 0;
 int t[10];
 
 for(int i = 0; i < 10; i++){
  cin >> t[i];
 }
 
 for(int i = 0; i < 10; i++){
  if(t[i] > max) max = t[i];
 }
 
 cout << endl << max;
 
 system&#40;"pause"&#41;;
}

 

Revise this Paste

Your Name: Code Language: