Gather Requirements/Clarify Problem
Break Down Problem
Pseudocode
Real Code
Testing
Restate the key points
Establish the priorities of the problems
Fix any bugs
Discuss ways to improve
Write a JavaScript function that takes in two integers and returns their sum, unless the two integers are equal. If the two integers are equal, then return three times their sum.
Examples:
Input (10, 20), returns 30
Input (10, 10), returns 60
Write a JavaScript function that takes in three integers and returns the integer with the highest value.
(Do not use Math.max()!!!)
Example:
Input (5, 8, 1), returns 8
Write a function that generates a random number between 0-10.
If this number is greater than five, log “Greater than five!”.
If it is less than five, log “Less than five!”