Day 12: compute Quotient Remainder Integer Numbers of 100DaysCodingChallenge
Hello all,
I have started the 100 days of coding challenge to improve my programming skills..
Today is the Day12 of 100DaysCodingChallenge for
compute Quotient Remainder Integer Numbers taken input by the user.
Code :
let a = prompt("Enter Dividend : ");
let b = prompt("Enter Divisor : ");
let c = a / b;
console.log("Quotient is : ", c);
let q = a % b;
console.log("Remainder is : ", q);
Output :
Comments
Post a Comment