0
Given a no, print the diff btw the odd digit and even digit. I tried the code but the code is not working
12 ответов
+ 1
remove getch() that is only required in older compilers
+ 1
Thankyou so much for your time and help.
0
Thankyou! But I need to modify the program to print the difference and if the no is 76320Afk384 the output should be "invalid" . How can I do that?
https://code.sololearn.com/ceN2KVupebG0/?ref=app
0
This code is not working
0
The above code is giving wrong answer for input 1132 the output should be 3 but it is printing different output
0
Can you please edit the code?
0
I fixed the code. But just for invalid output i can't code. Please help with that part