Please help me out as soon as possible

Write a JavaScript function that takes a number as an input from the user, then prints out if the number a multiple of 13 or not.

Do you want fries with that? Maybe a foot rub? :wink:

This isn’t a “code on demand service”, this is a learning platform. Typically people show us what they have tried and we help guide them. Or sometimes it is just general advice.

What are you not understanding?

  • Do you know how to write a JS function?
  • Do you know how to get input?
  • Do you know how to check if a number is a multiple of 13?
  • Do you know how to output information?
1 Like

@trisha12 You need to get your hand dirty and this is not a trivial task to do make sure please do some research before asking a question.

You need to find how to take input from user in js and then finding multiple of 13 is really easy and If you don’t know how to find multiple here some hint for you.

[number] mod 13 === 0

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.