Click here to Skip to main content
15,903,385 members

Comments by AbdelrahmanNassar (Top 9 by date)

AbdelrahmanNassar 5-Apr-20 10:49am View    
done
AbdelrahmanNassar 31-Jan-20 12:02pm View    
Sir, you do not know how grateful I am. Your advice really helped me, and I finally solved it. Thanks a lot🙌.
AbdelrahmanNassar 31-Jan-20 9:52am View    
ok, so I changed the first line and wrote it like this:
int r = arr[i];
arr[++i] = r;

but what about the next?
if it became i-=2; there will be an error
AbdelrahmanNassar 31-Jan-20 9:12am View    
Question and code are updated.
AbdelrahmanNassar 31-Jan-20 9:11am View    
Thanks a lot.