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
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
English,
2 months ago
History,
2 months ago
Computer Science,
6 months ago
World Languages,
10 months ago