19th Jun 2020, 3:24 PM
Shubham Singh
Shubham Singh - avatar
6 Respuestas
+ 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
19th Jun 2020, 4:00 PM
BroFar
BroFar - avatar
+ 2
U can take any character or string as the input
19th Jun 2020, 3:28 PM
Keerthy Sivadas
Keerthy Sivadas - avatar
+ 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.
19th Jun 2020, 3:40 PM
Avinesh
Avinesh - avatar
0
Tell me answer I am beginner
19th Jun 2020, 3:31 PM
Shubham Singh
Shubham Singh - avatar
0
you can take any character or collection of characters(strings) as input,because here input value stored in a character array.
19th Jun 2020, 3:42 PM
Vishnu G
Vishnu G - avatar