It's pretty straightforward. You just do it the same way as you would do it normally, OnlineDGB does not need any specific code. The only thing you need to pay attention to is to upload the file as part of your project so your running code can read it. Just add it to your project so the input (txt) file is right next to your source code. You can do it via the "New File" or "Upload File" icons just left to the â–ºRun button.Here's an example project: https://onlinegdb.com/bfLnTbK0bGood luck!