Confused...?

Joined
Jan 30, 2020
Messages
18
Reaction score
0
I am new to coding and am barely in my first week in college learning javascript and im not all that great at math at all so can some one help me understand this and let me know if I did this right?

question is
  • Find the remainder when 15 is divided by 9, using two variables x and y.
var x=15;
undefined
var y=9;
undefined
x/y
1.6666666666666667

i'm doing this in the console on firefox, what im confused about is the question is asing to find the remainder and im pretty sure thats definitely not the remainder but i just dont know how to go foreward or even what to do.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top