0
Tell me what should I take input
6 Antworten
+ 3
Here are two ways to approach what you are doing... Shubham Singh the second one is much cleaner in my opinion
https://code.sololearn.com/c7h7rvs0PSvh/?ref=app
https://code.sololearn.com/cMeUs0ssKkn3/?ref=app
+ 2
U can take any character or string as the input
+ 1
You are coming back after 9 months to ask what should be the input to a code that you did not write. People generally ask what should be the output but yours is a different case.
Anyways you can take character input which can consist 100 characters. Play with that code and see why does it give a warning, what should be replaced and things like that. Start with the C course.
0
Tell me answer I am beginner
0
you can take any character or collection of characters(strings) as input,because here input value stored in a character array.