Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

Can i get a hint on how to start with no dots for the "ProjectOwl"

+5 votes
asked Sep 10 in CSC 211 (F17) by Thomas Ayele (100 points)

1 Answer

+4 votes
 
Best answer
Inside one of your for loops, there should be a variable declared as "distance" (or something similar if your code follows regular logic). declare that value to 0 instead of 10, that will make the Owl flight from 0 instead of 10 Furlongs.
answered Sep 10 by Kevin Monroy (100 points)
selected Sep 10 by Thomas Ayele
It's also important to note that when you change the initial value from 1 to 0 in the for loop, you should change the check part from <= to just <
you are absolutely right Evan, i forgot about that detail. thanks for pointing it out
...