Question: in c program please fast i have just 15 min Q1: Write a C program that sum of natural numbers using recursion. Q2:Write a C
in c program please fast i have just 15 min
Q1: Write a C program that sum of natural numbers using recursion. Q2:Write a C program that search about a number in an array and count the duplicate for the search key in the array. - The array is : numbers[10]={1,2,2,4,5,6,2,4,9,10} - Use a countDuplicate function to perform the linear search of the array and count the duplicate for the search key. The function should receive an integer key value from the user. If the search key is found print the array indexes for the key in the function, then return the number of duplicates to print it in the main. - The output will be as following
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
