Download presentation
Presentation is loading. Please wait.
1
ME 123 Computer Applications I Lecture 14: While loops and Switch statements 4/1/03
2
Recapitulation of Lecture 13
In the last lecture, we applied the for loop structure to perform numerical integration of ODE using the Explicit Euler method concept of marching Homework feedback: Shows some difficulties in successful completion (This is a critical point in your learning. You will face more challenging programming assignments. Don’t give up trying.) Check out solutions on course web page to enhance your learning You are allowed to discuss homework with others BUT DO IT YOURSELF! Lecture 14 ME 123 Computer Applications I
3
ME 123 Computer Applications I
Road Map of Lecture 14 Solutions to HW 4-1 Switch statement: switch variable name case variable value 1 perform Operation 1 case variable value 2 perform Operation 2 otherwise perform Operation 3 end While statement: while condition is true perform operation Lecture 14 ME 123 Computer Applications I
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.