How do I proceed with this problem, as I have researched different avenues and still don't understand the instructions?

How do I proceed with this problem, as I have researched different avenues and still don't understand the instructions?
0

#1

Tell us what’s happening:
I am calling the function outside of the body of the function and setting it equal to processed, yet it is still wrong. I don’t know what to research to get to the end of this exercise or how to look it up, what path to follow, etc.

Your code so far

// Example
var changed = 0;

function change(num) {
  return (num + 5) / 3;
}

changed = change(10);

// Setup
var processed = 0;

function processArg(num) {
  return (num + 3) / 5;
}

// Only change code below this line
processed = processArg (7);

// Example
var changed = 0;

function change(num) {
  return (num + 5) / 3;
}

changed = change(10);

// Setup
var processed = 0;

function processArg(num) {
  return (num + 3) / 5;
}

// Only change code below this line
processed = processArg (7);

Your browser information:
Windows 10 Chrome
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36.

Link to the challenge:


#2

This seems to be a problem with the test. I removed the space between processArg and the opening parenthesis and it got accepted. It should work either way.


#3

Your code is correct and works as intended, but because of the way the FCC test is making sure you called the function, it is picky about there being a space between processArg and (7);. If you remove the space, it will be processArg(7); it will let you pass.