Question: in C please thanks! Write a function countDigit() which receives a char array of size 20 from main(. This function counts the number of digits

in C please
thanks!
 in C please thanks! Write a function countDigit() which receives a

Write a function countDigit() which receives a char array of size 20 from main(. This function counts the number of digits in the char array, and returns the count (of type int) to maino Output Example Enter 20 character: e 3gnjt salcm w 9 d 6 s a 0 g P Number of digits: 5 Rubrics 1 point(s) - Correct implementation of scanf. 3 point(s) - Correct implementation of function. 2 point(s) - Correct implementation of if. 1 point(s) - Correct implementation of array. 1 point(s) - Correct imple tation of loop. 1 point(s) - Correct output. 1 point(s) - No syntax errors

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!