wes d2a2ba9e15 first commit 4 tahun lalu
..
README.md d2a2ba9e15 first commit 4 tahun lalu
code.cpp d2a2ba9e15 first commit 4 tahun lalu
unitTest.cpp d2a2ba9e15 first commit 4 tahun lalu

README.md

Convert Hours into Seconds

by Matt tags: math, numbers, language_fundamentals

Summary

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.

Instructions

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.