I want to do this in my ide (code:: blocks) so how can I take the no. as input here?
HOW HAVE TO TAKEN THE NOS. AS INPUT IN THE ARRAY WITHOUT USING cin OR scanf?
You can use getchar or getline or fgets depending upon the requirement of the question. Please share the question if you need the exact answer.
Hey, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required. And please mark your doubts as resolved in your course’s “Ask Doubt” section, when your doubt is resolved.