Question: A program that asks the user to input 2 lists of numbers, 5 numbers per list. The program should identify the common numbers in the

A program that asks the user to input 2 lists of numbers, 5 numbers per list. The program should identify the common numbers in the lists or the numbers that are present in both lists.

Example Input:

List 1: 20 3 59 1 3

List 2: 1 20 1 4 3

Output: 20 1 3

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 Programming Questions!