Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement