variable re-definition not working

variable re-definition not working - Messages

#1 Posted: 2020/7/12 18:23:05
bertrandC

bertrandC

0 likes in 1 posts.

Group: User

In the image below, I redefine b after using it in the calculation for c on the third line, but when I try to recalculate c on the 5th line, it doesn't use the updated value for b. I have to redefine c for the variable b to use the new value for b.

image.png
#2 Posted: 2020/7/12 19:02:51
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Make it algo style.

algo.PNG
#3 Posted: 2020/7/12 23:02:19
Alvaro

Alvaro

1,078 likes in 1,749 posts.

Group: User

Hi Bertrand. Try this, please.

Clipboard01.gif

Best regards.
Alvaro.
2 users liked this post
Davide Carpi 2020/7/13 05:17:00, frapuano 2020/7/13 08:48:00
#4 Posted: 2020/7/13 07:21:49
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Get more from algo style.

algo-solve.PNG
  • New Posts
  • No New Posts