I keep getting errors and I do know how to solve practice pr

I keep getting errors, and I do know how to solve practice problem. The second question, I was able to fine a meaning of isdigit() but do not know how to apply it in a real-world scenario. I need help to solve this two problems.

Execute the following coding segment and identify the errors in the program. Debug the program and provide the correct version of the code.

Explain how the isdigit() function works. How might you use this function in a real world scenario?

Hinclude int main() printf(\"%s\", isdigit(\'A\') ? \"A is digit\" \"A is not digit\"); a : a printf(\"Inlnln\") return return e;

Solution

Code is working fine . no error , try to use different compiler or tools to debug dev++ etc

so how to use in real world?

example if you would like to check user inputed is integer or not. you can use by isdigit().

reading the set of character from a file and checking whether is integer or not.

I keep getting errors, and I do know how to solve practice problem. The second question, I was able to fine a meaning of isdigit() but do not know how to apply

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site