Day 8: Square Root Integer Numbers of 100DaysCodingChallenge
Hello all,
I have started the 100 days of coding challenge to improve my programming skills..
Today is the Day8 of 100DaysCodingChallenge for
Square Root Integer Numbers taken input by the user.
Code :
let a = prompt("Enter a : ");
let x = parseInt(a);
let c = Math.sqrt(x);
console.log("square root of a is : ", c);
Output :
Happy Coding:)
Thank you...
Comments
Post a Comment