Basic Algorithm Scripting - Convert Celsius to Fahrenheit

Tell us what’s happening:
Describe your issue in detail here.
My code is correct but it is not submitting! kindly resolve my issue Thanks!
Your code so far

function convertToF(celsius) {
  var fahrenheit = celsius * 9 / 5 + 32;
  return fahrenheit;
}

console.log(convertToF(30));

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

Challenge: Basic Algorithm Scripting - Convert Celsius to Fahrenheit

Link to the challenge:

It should show you which testcases are failing.

Then based on this you should examine your code to find the bug.

Check your spelling of the function name.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.