Hello ! I have this code about finding the max from a vector , i do understand it , but in another code , i have to find the max in vector and his index , i really dont understand from where the index coming when it print me the result , can you explain me from where the Index come:
Bro , I still dont understand what index is , your code for index is same for me , I still dont understand from where that value is ...after "index= "
What index meen as theory ?
Thank you soo much both , specially you mr. Peter , Now I know what a Index is , but can you run my Code and tell me from where that INDEX come .... For exemple:
I run my code:
1 2 3 4 5 6 7 8 9
N=4
nr=20
nr=532
nr=32
nr=6
// So Results are :
Maxim=532 index=1
// I dont understand From where that Index come? Why index is 1 ?