Answers for "javascript divide operator"

8

divide intagers javascript

var quotient = Math.floor(y/x);
var remainder = y % x;
Posted by: Guest on March-24-2020
1

divide symbol javascript

//divide symbol is /

//sample Code
let num1 = 2;
let num2 = 34;

//divide num1 by num2
let division_result = num1/num2;

console.log(`the result of ${num1} by ${num2} is &{division_result}`);
Posted by: Guest on September-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language