Помогите решить

I think you’ll need to get rid of the screen snap image and write out what you want to ask us because it is hard to translate an image.

я там ничего не понел !

https://translate.google.com

do you speak russian?

нет

I am using google translate.

Hi @laziz !

You can ask questions in russian and we can translate to english to help you.

But we need you to post your code.

Here is how you can post code to the forum.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

in short it says there
Add the convertCelsiusToFahrenheit function, which takes as input a number - the number of degrees in Celsius and returns a number - the number of degrees in Fahrenheit.

To convert Celsius to Fahrenheit, use the formula

f = (c × 9/5) + 32,
where f - degrees Fahrenheit, c - degrees Celsius

So your function takes a Celsius temperature as the argument and returns that temperature in Fahrenheit:

function convertCelsiusToFahrenheit(celsius) {
  
  return fahrenheit;
}

I’ve left a blank line in the function. The image you posted gives a formula for converting from C to F. So what do you think you need to do on the blank line?

1 Like
function convertCelsiusToFahrenheit (degrees) {
let f = (degrees * 9/5) + 32
return f
}

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Did you test this function? Did it work like you expected?

yes, it worked thank you