Topics

13. Alert
25. Array
26. Array Sorting
23. Classes
19. Concat
21. Do While
16. Event Handlers
8. For
17. Form
9. Function
20. Hello World
4. HTML
11. If Else
22. Letter to Number
14. Loop
24. Madlib
3. Math
7. Modulus
15. Popups
6. Prime
5. Random
18. String
10. Switch
12. Textfield
1. User Input
2. While

Topic: If Else

21. You can determine where a year is a leap year if the year is divisible by 4. However, years that are also divisible by 100 are not leap years unless they are also divisible by 400, in which they are leap years. Write the psuedocode to determine for a year entered to be a standard year or a leap year. You should be able to repeat the entering of years as long as 0000 is not entered. See more

34. Create a number guessing name. The random number to guess should be between 1 and 100. Keep all the guesses made in an array. Count the number of guesses. As the user guesses, tell the user if they are too low or are too high. See more

39. Gross Pay Determine the gross pay of an employee. Accept two numbers from a form, and those numbers are hours worked and hourly wage. If the number of hours is over 40, then the pay is time and half. Output the weekly gross pay of an employee. See more

42. Create a 0 player rock paper scissors game. Why 0 players? Make the computer play against itself. Run the process 3 times. See more

22. Collect 10 temperatures in an array. Then determine in output if the temps are hot (<90), warm (68-89), cool (67-40), or cold (<39). As part of the output, show the Celsius value as part of the output. Celsius formula to convert from Fahrenheit: C = (F - 32) * (5/9) See more

46. Enter a max number and then complete the sum from 1 to max. See more