Question: Write a C program to define two-dimensional array A[row][col] of integers. Ask the user to enter the number of rows and columns. Read in the

 Write a C program to define two-dimensional array A[row][col] of integers.
Ask the user to enter the number of rows and columns. Read
in the elements of the array, then replace the even numbers in

Write a C program to define two-dimensional array A[row][col] of integers. Ask the user to enter the number of rows and columns. Read in the elements of the array, then replace the even numbers in the array with Os and the odd numbers with Is. Output Example Enter the number of rows: 2 Enter the number of columns: 3 Enter the elements of the array: 7 6 9 4 2 3 The array after replacement: 101 001 Write a function called IsPrime() that prints the prime numbers from 1 to N. Call the function IsPrime() from main(). I Output Example Enter N: 20 The prime numbers from 1 to 20 are: 3 5 7 11 13 17 19 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 main(). Output Example Enter 20 character: e 3 gnjt 5 a 1cmw 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 implementation 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!