I think I wrote my code correctly. I used the same algorithm in Java and it gave me the perfect output. Can someone please tell me what's not working for this one and why it wont even comiple?
mod: (removed code per honor code guidelines. a bash error will not be because of the code itself anyway).
When i try to run it, it says: bash: ./mario: Permission denied