const add = (input1, input2) =>{
console.log(input1+input2);
return input1+input2;
}
const inp = (abc) =>{
let a = parseInt(prompt("Enter first number"));
let b = parseInt(prompt("Enter second number"));
inp1 =Number(a);
inp2 =Number(b);
return abc(inp1,inp2);
}
alert(inp(add));