Computer Science, asked by usmankhan17, 6 months ago

A text file contains alphanumeric text (say an .txt ). Write a program that read this text file and print only .

. the number or digit from the file .​

Answers

Answered by krishna5714
2

Explanation:

you haven't specified the language but in any language you can just read the file and check by looping through each word and if the word has digit( isnum string manipulation) and store it in int datatype and print the result

Similar questions