using Prompt to add a value to function – Reactjs
function add (digit){ var figure = digit * 1.5; console.log("Answer is " + figure); } add() = parseInt(prompt('')); I need help from someone I want o use the prompt to add a value to the add function parameter I was…