Help me!

Revision en1, by Zhanibekkk, 2018-11-28 12:16:09

I have a lot of files named with sample numbers 1, 2, 3 and so on. In this files there are two integers a and b. And I should print a+b. And output should be in files such as 1.a, 2.a, 3.a etc.

Please, help me or send me correct code. Code;

This code create answer for 1st file. But for others, outputs answer of 1st file too.

P.s. Sorry for my English.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru4 Russian Zhanibekkk 2018-11-28 12:20:09 3 Мелкая правка: 'ect code. [Code](ht' -> 'ect code. My [Code](ht'
en1 English Zhanibekkk 2018-11-28 12:16:09 410 Initial revision for English translation
ru3 Russian Zhanibekkk 2018-11-28 12:09:44 17
ru2 Russian Zhanibekkk 2018-11-28 12:03:01 30 Мелкая правка: ' file too. ' -> ' file too.\n\nP.s. Sorry for my English. '
ru1 Russian Zhanibekkk 2018-11-28 12:01:56 387 Первая редакция (опубликовано)