Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <body>
- <script>
- var temperaturecelsius = Number(prompt('Enter temperature in Celsius'));
- Farenheit = (temperaturecelsius * 1.8) + 32;
- document.write('The temperature in Celsius is: ' + temperaturecelsius + ' degrees');
- document.write('<br>The tempreature in Farenheit is: ' + Farenheit + ' degrees');
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement