Function called, but nothing on console (newbie)

I wanted to play around with this, but I can’t figure out how to get it to print the temp on console. What is this missing? I’m still not too familiar with “return”.

function multiplyByNineFifths(number) {
return number * (9/5);};
function getFahrenheit(celsius) {
return multiplyByNineFifths(celsius) + 32;};
getFahrenheit(15);

1 Like

return has nothing to do with displaying things
use console.log for that purpose

The general idea of a function it that some value or values go in, and some other values come out.

1 Like