photo

Shabaz Khan


Last seen: 9ヶ月 前 2021 年からアクティブ

Followers: 0   Following: 0

統計

Feeds

表示方法

質問


How to write and run while loop in app design?
C= app.CollectionEditField.Value; S= app.ServingEditField.Value; app.cycle=0; cycle_t=app.cycle; app.FC=0; F_C=app.FC; app...

3年以上 前 | 1 件の回答 | 0

1

回答

質問


Trying to find out that how many loop cycle it complete before the 'S' become zero. S value is not decreasing. Need to decrease S value zero and sum the total cycle number?
>> C=0.02; >> cycle = 0; >> FC =0; >> S=10; >> while (S>=0) S=(S-F); F=(S*C); FC = (FC+F); cycle =(cycle+1); end

3年以上 前 | 2 件の回答 | 0

2

回答