C program to find three-digital numbers in an array
Hello there,
I have a task that sounds like this: We have a .txt file which consists of numbers and some text, we need to create a program which reads a file and detects whether there is three-digital numbers or not (like 123;354;999 and etc)... And then the given result import to the text file. So I know how to do the last part (import results) and I know how to read a file and print everything out :wink: but what I do not understand how to check if there is such numbers. I mean when we read the text file we usually store information on an array, so how do we check if there is such elements in array? I'm really new to c programming and I usually find info on internet (youtube, read forums, examples and etc) but on this one I couldn't find any information that would help me, so I decided to ask here :confused: If someone could help me out, maybe just give a clear hint so that I could actually have a conception on how to do it. My english isn't very good sorry and please if you write a confusing answer just try to write it in as simple english as possible.
Thank You. :)