All Tracks/lab celsius to fahrenheit converter/
Đang tải...
Hướng dẫn thử thách
1 / 1

Build a Celsius to Fahrenheit Converter

In this lab, you will write a function that converts the temperature from Celsius to Fahrenheit. The formula to convert from Celsius to Fahrenheit is: ```js fahrenheit = celsius * (9/5) + 32 ``` **Objective:** Fulfill the user stories below and get all the tests to pass to complete the lab. **User Stories:** 1. You should create a function named `convertCtoF`. 2. `convertCtoF` should take a single numeric argument, which is the temperature in Celsius. 3. `convertCtoF` should return a number.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.