The idea is to upload separate files, not the rar file and track version using git. It's a version control system.
But having the code here is just fine. It's interesting why would you write to file, and not simply print the result? And if you want to save to file, why redirect the stdout instead of writing to file?
final advise - don't use single char names, like
But having the code here is just fine. It's interesting why would you write to file, and not simply print the result? And if you want to save to file, why redirect the stdout instead of writing to file?
final advise - don't use single char names, like
a
, r
, etc.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs