anonymous
  • anonymous
problem set 6 here z my code http://pastebin.com/tQNBiaRn the code z nt working properly :-( plz help
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
The trigger instance must be returned to the caller function if either of the conditions is satisfied
anonymous
  • anonymous
THIS IS MY OUTPUT Trigger file: t1 TITLE NASA **** RUNNING MAKETRIGGER ON TRIGGER FILE **** True --> Is trigger t1 in triggerMap? False **** ERROR: Length of triggerMap should be 1; it is: 0 REQUIRED OUTPUT IS Trigger file: t1 TITLE NASA **** RUNNING MAKETRIGGER ON TRIGGER FILE **** TitleTrigger made with word: NASA --> Is trigger t1 in triggerMap? True
MicroBot
  • MicroBot
your problem is here: "This helper function should build and return a trigger depending on its type. It also keeps track of triggers and names in a map." your function does not keep track of them in a map (or else called dictionary).

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

MicroBot
  • MicroBot
"Modifies triggerMap, adding a new key-value pair for this trigger."
anonymous
  • anonymous
did it :-)

Looking for something else?

Not the answer you are looking for? Search for more explanations.