Question: b) The following program should compare array of integer, num1 [] and num2[]. If any element in array num1] is found in array num2[], a

 b) The following program should compare array of integer, num1 []

b) The following program should compare array of integer, num1 [] and num2[]. If any element in array num1] is found in array num2[], a message is displayed as shown in lements in array num1 [] that is found in array num2[]. The result is assign to numtotal and is displayed as shown. (5 marks) the expected output below. The program sum up e Complete the program with suitable statements. Expected output at index nuni t01 is found at index nun2111 at index nun1 [1 is Found at index nun2 [2 Numtotal-5 #include 2 l#define SIZE 3 4 int main) int num1 [SIZE] 2,3,5, num2[SIZE] 1,2,3; int numtotal 0; 7 10 13 15 17 20 21 23 24 25| printf( "Num Total=%d " ,numtotal); 26

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!