After downloading the file it will be in .txt extension so just open the downloaded file and paste the code in .cpp extension file created by using any applications and then just run to get the output. Thank you.