Changes for page ROS Crash Course

Last modified by Leon Poon on 2021/08/30 23:24

From version 1.1
edited by Leon Poon
on 2021/08/23 10:50
Change comment: There is no comment for this version
To version 2.1
edited by Leon Poon
on 2021/08/23 10:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -58,7 +58,7 @@
58 58  
59 59  factorial printer - 2 approaches:
60 60  
61 -1. for-loop that goes 1 to 20 and each loop calls fact(n) function and prints return.
61 +1. for-loop that goes 1 to 20 and each loop calls fact(n ) function and prints return.
62 62  1. for-loop that goes 1 to 20 and multiplies once each time and print.
63 63  
64 64  set initial values of vars when declaring otherwise initial values are unpredictable