Add to bookmarks
Add to collection
Power Calculator
Create a function that takes voltage and current and returns the calculated power. Examples circuitPower(230, 10) ➞ 2300 circuitPower(110, 3) ➞ 330 circuitPower(480, 20) ➞ 9600 Notes Requires basic calculation of electrical circuits (see Resources for info).
math
numbers
Very Easy
Add to bookmarks
Add to collection
Convert Hours into Seconds
Write a function that converts hours into seconds. Examples howManySeconds(2) ➞ 7200 howManySeconds(10) ➞ 36000 howManySeconds(24) ➞ 86400 Notes 60 seconds in a minute, 60 minutes in an hour Don't forget to return your answer.
language_fundamentals
math
numbers
Very Easy
Add to bookmarks
Add to collection
Basketball Points
You are counting points for a basketball game, given the amount of 2-pointers scored and 3-pointers scored, find the final points for the team and return that value. Examples points(1, 1) ➞ 5 points(7, 5) ➞ 29 points(38, 8) ➞ 100 Notes N/A
language_fundamentals
math
numbers
Very Easy
Add to bookmarks
Add to collection
Less Than 100?
Given two numbers, return true if the sum of both numbers is less than 100. Otherwise return false. Examples lessThan100(22, 15) ➞ true // 22 + 15 = 37 lessThan100(83, 34) ➞ false // 83 + 34 = 117 lessThan100(3, 77) ➞ true Notes N/A
language_fundamentals
math
validation
Very Easy