Guest User

Untitled

a guest
Dec 6th, 2019
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <body>
  4. <script>
  5.  
  6. var temperaturecelsius = Number(prompt('Enter temperature in Celsius'));
  7. Farenheit = (temperaturecelsius * 1.8) + 32;
  8.  
  9. document.write('The temperature in Celsius is: ' + temperaturecelsius + ' degrees');
  10. document.write('<br>The tempreature in Farenheit is: ' + Farenheit + ' degrees');
  11.  
  12. </script>
  13. </body>
  14. </html>
RAW Paste Data