Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Celsius</title>
- <script type="text/javascript">
- var farenheit;
- var celsius;
- var s;
- for(i = 2; i<=12; i++){
- celsius = 10 * i;
- farenheit = 32 + (celsius * 9)/5;
- s = s + "C" + celsius;
- F = + farenheit + "\n";
- if(celsius==0){
- document.write("Punto congelacion del Agua");
- alerts;
- }
- if(celsius==100){
- document.write("Punto de ebullicion del Agua");
- alerts;
- }}
- </script>
- </head>
- <body>
- <!--
- var farenheit,celsius,
- var s="";
- for(i=-2;i<=12:i++) {
- celsius=10*i;
- farenheit=32+(celsius*9)/5;
- s=s+"C= "+celsius+";
- F="+farenheit+"\n";
- if (celsius==0)
- s=s+"Punto congelaci´on del
- Agua\n";
- if (celsius==100) s=s+"Punto de ebullici´on del Agua\n"; alerts;)}
- -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement