<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <script type="text/javascript"> var c = prompt("请输入摄氏度") /*c)+; console.log("华氏度为:" + d); </script> </body> </html>