Skip to content

Commit d831adc

Browse files
committed
add
1 parent 6546da2 commit d831adc

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Programs/Basic/add.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
const prompt = require("prompt-sync")();
3+
4+
let a=Number(prompt("Enter First number = "))
5+
6+
let b=Number(prompt("Enter Second number ="))
7+
8+
let result=a+b
9+
10+
console.log("Addition is ",result)

0 commit comments

Comments
 (0)