Hey, I finished doing the first written exercises (http://bit.ly/SouFWO) and have correctly predicted the output for the final question (Ex 1.15 Buggy Loop), but I have no idea what this code might be trying to do, so have no idea what changes might be made. Any thoughts?
n never changes, I suppose the idea is that i reaches some value and then something is done with n (and with i, maybe) but there are other possibilities...
I wonder if they will put some timetable for the MOOC, looking at the materials (do some stuff on Monday, some on Tuesday it says) and then materials from different sources. Without some sort of guidance, things are going to get confused pretty quickly, I think.
I had the same question. Since the variable n isn't used in the code, I thought that it probably should be. But where? The if statement is clearly checking to see if the variable is even or not. But why? I have no idea.
Estudier: The Mechanical MOOC will send weekly e-mails with pointers to specific materials to review or exercises to complete during the week. Participants will post questions they have to this study group.
Yeah, I still have no idea, but I suppose "n" is a clue. Has to be there for some reason.
Join our real-time social learning platform and learn together with your friends!