<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>If-Else Condition</title>
<style>
body{
color:red;
text-align:center;
}
</style>
</head>
<body>
<h1>Hey Guys, How are you!!</h1>
<script>
var tam = prompt("Write any number");
if (tam > 0){
alert("You Enter positve number " + tam);
}
else if (tam == 0){
alert("It is Zero");
}
else if(tam<0){
alert(`You Enter Negative Number ${tam}`);
}
else{
alert("Error");
}
</script>
</body>
</html>