Day 9: Cube of Integer Numbers of 100DaysCodingChallenge
Hello all,
I have started the 100 days of coding challenge to improve my programming skills..
Today is the Day9 of 100DaysCodingChallenge for
Cube of Integer Numbers taken input by the user.
Code :
let a = prompt("Enter a : ");
let x = parseInt(a);
let c = x * x * x;
console.log("a cube of an integer is : ", c);
Output :
Comments
Post a Comment