Question: There is 4 question its C programming language a 1 (25) -Write function that takes the x-y 3 (30p) - Write a function that counts

 There is 4 question its C programming language a 1 (25)

There is 4 question its C programming language

a 1 (25) -Write function that takes the x-y 3 (30p) - Write a function that counts the number of coordinates of a point in the Cartesian plane odd digits and even digits in an integer. The as parameters and printe a message telling function take the integer number and does not either an axis on which the point lies or the return any value. The function determines the quadrant in which it is found. number of odd digits and even digits and display results to user. Example: if the number is 142386 ON Result will be Odd digit count: 2 Even digit count: 4 4 (30p) - What does the following program output and Explain the output comming from where? (Only QIV Output even it is correct) or (only explanation even it is correct) or (wrong Explanation with correct answer) is zero pointi #include Samples //Prototypes It coordinates are (-1.0, -2.5).output void sp2(int al 1, int b[ 1); void spi(int a, int b); message should be quadrant III If coordinates are 10.0.. 4.8).output int main() { void sp3(int *a, int *b); message should be on the y-axis int a[2) - (1, 2); 2 (30p) -Write a function that determines int b[2] {8, 9); standart deviation of float array. The spica[e), a[1]); function takes dataset as a float array sp2(a, b); parameter 1 And it also return result as a sp3 (8[0], &b[1]); float. printf("xd, d, X, Xd ", a[@], a[1], b[), b[1]): (Clue: calculate average first) return 0; } Definations: // functions void splint a, int b){ int temp = a; (x - 2) ab; b. temp:) void sp2(int a 1, int b[ 16 - standard deviation int temp = a[0]: xi - each value of dataset a[e] = b[@]; * (with a bar over it) - the arithmetic mean b[@] - temp:) of the data. (This symbol will be indicated as void. sp3(int *a, int *b){ average of dataset) int tempa; N = the total number of data points *a*b; (if you need square root of some number you temp:) can use sort function in math.h library. Usage example: a-sqrt(b): which means "a" is equal to square root of "b

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!