Day 3: Add two Integer Numbers of 100DaysCodingChallenge
Hello all,
I have started the 100 days of coding challenge to improve my programming skills..
Today is the Day3 of 100DaysCodingChallenge for
Add two Integer Numbers taken input by the user.
Code :
let a = prompt("Enter a : ");
let b = prompt("Enter b : ");
let x = parseInt(a);
let y = parseInt(b);
let c = x + y;
console.log("a + b = ", c);
Output :
Happy coding:)
Thank you..
Comments
Post a Comment