You are not logged in.
Pages: 1
Hi everyone!
I am back with new problems.
I have a set of points..
A = { 1 , 5 , 3 , 9 , 1 ,7 , 1 }
Now in the set.. the minmum value is 1 which is at index 0, 4 and 6.
if we find the minimum value from i = 0 to 6 values.. the minimum value 1 at index 0 will be the output. but i need the minimum value at index 4.
In that case, how can get the minimum value at specific index..
For example minimum value 1 at index 4 is important for me.
In that case, what to do?
Kindly help me .
Thanks
Regards,
Pari
Last edited by pari_alf (2014-11-23 19:12:30)
Offline
Is this a programming problem?
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
hi pari_alf
You need to supply a more detailed algorithm.
eg.
Find minimum values
If only one, state its index.
If more than one, what?
(a) state the one in the middle
(b) state the one nearest to index 4
(c) state ..........?
Bob
Children are not defined by school ...........The Fonz
You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you! …………….Bob
Offline
Pages: 1