make the calculate and use the value of the prompt