A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 3 years ago
I don't exactly know the best way to ask this, but what am I doing wrong if, after 34 attempts to solve problem set 4, problem 4, I have made literally no headway of any kind? I've never been this stumped before.
anonymous
 3 years ago
I don't exactly know the best way to ask this, but what am I doing wrong if, after 34 attempts to solve problem set 4, problem 4, I have made literally no headway of any kind? I've never been this stumped before.

This Question is Open

anonymous
 3 years ago
Best ResponseYou've already chosen the best response.0have you put print statements in your code to print :  variable values  calculation results  test results ? that should give you an idea if the code is actually doing what you think it should. if you think you are completely off track, perhaps scrap what you have and start again by writing down in words the steps you think need to be taken to solve the problem. then turn that into code  constantly referring to it and updating/revising it as you debug. which course? OCW 2008? 2011? eDX?

rsmith6559
 3 years ago
Best ResponseYou've already chosen the best response.0IMO, one of the most important skills for programming is decomposing ( breaking down ) problems into smaller problems. Another very important skill is to keep decomposing problems until they get so small and simple that a few lines of code takes care of it. That's when you should start coding. I really should follow my own advice. It would save me a lot of headaches.

anonymous
 3 years ago
Best ResponseYou've already chosen the best response.0why cant you post ur wrong codes so that we can tell you where u went wrong
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.