Question: 3. Answer each of the short programming questions: a) Declare an array dynamically that can store N number of data, N is a variable and

3. Answer each of the short programming questions: a) Declare an array dynamically that can store N number of data, N is a variable and user input. (4 points) b) Write the function prototype (function declaration only) of a function that takes two input parameters: an array of floating point number A and its size N (an integer) and computes and returns two outputs: max and min, both floating point numbers. (3 points) c) The pseudocode for GCD computation of two integers a and b is given as below: GCD (a, b) while b != 0 c= a mod b a = b b = c return a Define the function GCD to implement the above pseudocode. (8 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
