07-15-2011 02:25 AM - edited 07-15-2011 02:33 AM
Say i have two user input constants , say 0.25 and 0.5
i want to
add 0.25 (which shall also be the first element of my array) to 0.5 =0.75
then,
i want to add 0.5 to the second element of my array ie, 0.75 and write it as my third element = 1.25
then add 0.5 to my third element ie,1.25 and write it as my fourth element and so on
thus generating an array of a fixed number of elements say 720 elements which looks like this
0.25
0.75
1.25
1.75
2.25
.
.
.
.
.
upto the 720th element ..
Please Help
Thanks ..
Avinash
Solved! Go to Solution.
07-15-2011 02:46 AM
You could do something like this:
07-15-2011 02:55 AM
Thanks a lot Dan_u ...
How silly of me not to think of a logic so simple .. I was doing trying some thing by initializing and indexing arrays ... Any way .. Thanks again ...
Avinash
07-15-2011 02:59 AM - edited 07-15-2011 03:02 AM