if you have this code
can someone help me to find the probability of number of times if statment will be true if (a[i]>max)
thanks in advance
Code:
int a[]; int max =0; for ( int i=0; i<a.lenght;i++) if (a[i]>max) max=a[i]
thanks in advance
Comment