Skip to main content
3 events
when toggle format what by license comment
Feb 28, 2018 at 12:10 comment added MARS I really do not appreciate any obvious error, be sure to save the changes before compiling. If your problems persist open a new question, it is easier to answer among all.
Feb 27, 2018 at 17:27 comment added Pittsford.N thanks so much for your reply. I used your comments and changed my code, but still seem to come across the same issues. For int_duration, I changed the condition to an if-statement. I also added return 1 statements for values that should not be accepted (i.e. if numerator is neither 1 nor 3) and a 'catch-all' return statement outside the condition block. For int_rest, I followed your example and added a 'catch-all' return statement outside the condition block. I added my new code above, below the original code. I also added a screenshot of the errors. Again, thanks!
Feb 26, 2018 at 20:53 history answered MARS CC BY-SA 3.0