If you can't read please download the document
Upload
mahmoudkhedr
View
212
Download
0
Embed Size (px)
Citation preview
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% getting the max of an array %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#include using namespace std;int main(){int arr[6]={70,50,60,100,-10,15};int max=arr[0];for(int i=1;i