0

Add one to each 4 digit can any do this code simply in c without loop or anything

20th Nov 2022, 3:56 PM
Shubham Mishra
3 Answers
+ 2
This question is unclear to me, could you provide example input and output?
20th Nov 2022, 4:06 PM
Apollo-Roboto
Apollo-Roboto - avatar
+ 2
When you know that you will have an input number with only 4 digits then you can do it without any loop.
20th Nov 2022, 4:27 PM
JaScript
JaScript - avatar
+ 1
Please attempt the code first and share the code then we can easily understand what's your doubt?
20th Nov 2022, 5:21 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar