I'm having trouble finding the error in the following code. It successfully creates 50 jpg files that can be opened and viewed. But it fails check50:
:) recover.c exists :) recover.c compiles :) recovers 000.jpg correctly :( recovers middle files correctly :( recovers last file correctly https://sandbox.cs50.net/checks/b9349363100144ccbfa7f023211d3b7e
I'm not sure what went wrong... as 000.jpg and 001.jpg both pass check50 but 002.jpg fails, which is bizarre -- if the loop is problematic, 001.jpg shouldn't've passed.
[code hidden behind link per academic honesty guidelines]