variable re-definition not working

variable re-definition not working - Сообщения

#1 Опубликовано: 5 лет назад
bertrandC

bertrandC

0 сообщений из 1 понравились пользователям.

Группа: 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 Опубликовано: 5 лет назад
Jean Giraud

Jean Giraud

983 сообщений из 6 866 понравились пользователям.

Группа: User

Make it algo style.

algo.PNG
#3 Опубликовано: 5 лет назад
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1 004 сообщений из 1 677 понравились пользователям.

Группа: User

Hi Bertrand. Try this, please.

Clipboard01.gif

Best regards.
Alvaro.
2 пользователям понравился этот пост
Davide Carpi 5 лет назад, frapuano 5 лет назад
#4 Опубликовано: 5 лет назад
Jean Giraud

Jean Giraud

983 сообщений из 6 866 понравились пользователям.

Группа: User

Get more from algo style.

algo-solve.PNG
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений