1
I need the user to enter with 3 values and I show the user the three values ordered increasingly.
<html>
<head>
<title> </title>
<script type="text/javascript">
var idade1, idade2, idade3;
idade1 = prompt ("Informe a primeira idade: ")
idade1 = eval (idade1)
idade2 = prompt ("Informe a segunda idade: ")
idade2 = eval (idade2)
idade3 = prompt ("Informe a terceira idade: ")
idade3 = eval (idade3)
</script>
</html>
Did the answer solve your question? Do you think you can accept it? See [tour] if you don’t know how you do it. This would help a lot to indicate that the solution was useful to you. You can also vote on any question or answer you find useful on the entire site.
– Maniero