Write a JavaScript program for celcius to fahrenheit conversion using function.
<html>
<head>
<title>Celcius to Fahrenheit Conversion</title>
<script>
function toFahrenheit(celsius) {
return (celsius * 9/5 + 32);
}
document.write("Temperature in Fahrenheit is " + toFahrenheit(45));
</script>
</head>
<body>
</body>
</html>
