Day 10: Cube Root of Integer Numbers of 100DaysCodingChallenge
Hello all,
I have started the 100 days of coding challenge to improve my programming skills..
Today is the Day10 of 100DaysCodingChallenge for
Cube Root of Integer Numbers taken input by the user.
Code :
let a = prompt("Enter a : ");
let b = parseInt(a);
let x = Math.cbrt(b);
console.log("cube root of a :", x);
Output :
Comments
Post a Comment