I have few files like A.txt, B.txt and C.txt, each having a only single number in it i.e A.txt has 45 B.txt has 35 and C.txt has 100. How could I read these entries from each files and report with its corresponding file name.
output:
45 A.txt
35 B.txt
100 C.txt
thanks!
