Tutorials > Programming > About Exercise 3
About Exercise 3
With PTC Mathcad, you can define for loops to repeat the same expression several times. In addition, you can also define while loops, which are useful when you do not know how many iterations are required before a condition is met. After completing this exercise, you will be able to perform the following tasks:
Write for loops
Write while loops
Use continue to skip a loop iteration
Use break to exit a loop
Use Try/On Error statements
Was this helpful?