#include <iostream>
using namespace std;
int main()
{
int y;
cout << "how many values";
cin >> y;
int x[y];
for(int i=0; i<y;i++)
{
cin >> x[i];
if(x[0]<x[i])
{
x[0]=x[i];
}
}cout << x[0];
return 0;
}
Thursday, 24 January 2013
array highest number
08:14
ATEEK
No comments
0 comments:
Post a Comment