Must-Know
Formatting Printf
OUTPUTS WITHOUT SPACES output: _ _ _ 1 2 3 output: 005 output: _ _ _ 6 . 7 9 |
Do While Loop (b)
Executed 1+ times. Output: 5 While Loop (b)
Executed 0+ times. Output: (nothing) Switch-Case
Logical If
|
For Loop (a)
Rewrite of While Loop (a) While Loop (a)
Rewrite of For Loop (a) Pyramid Code Snippet
Pyramid Math
1) Find m: m=(y2-y1)/(x2-x1) 2) Find equation: b=y=mx 3) Use equation in blank in code *y=ANSWER |
Cheatography
https://cheatography.com
ECE160 Exam 1 Cheat Sheet by codebrent2
ECE160
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets