Here is a solution, based on dummy values for the variables you haven't shown.
I see that i was wrong concerning h, but I got rid of v11 and v21.
Not sure if the the output of the program is as you had it expected, though.
Here is a solution, based on dummy values for the variables you haven't shown.
I see that i was wrong concerning h, but I got rid of v11 and v21.
Not sure if the the output of the program is as you had it expected, though.