Skip to main content
Write a JavaScript program to convert Celsius to Fahrenheit. ((x*1.8)+32)
CODING:
<! DOCTYPE html>
<html>
<head>
<title>Write s JvaScript to display ADD.,SUB.,MULTI.,DIVED.
</title>
<script type="text/javascript">
{
  var x=prompt("Enter The Value OF X.=")
  if(x!==null){
 document.write("<h1>",  "CELSIUS TO FAHRENHEIT=",  ((x*1.8)+32), "</h1>");
}
}
</script>
</head>

</html>

Comments