function convertToF(celsius) {
// Only change code below this line
fahrenheit = celsius + 32 * 9/5 ;
// Only change code above this line
return fahrenheit;
}
// Change the inputs below to test your code
convertToF(-30) ;
yêu cầu :
- convertToF(0) should return a number
- convertToF(-30) should return a value of -22
- convertToF(-10) should return a value of 14

83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?