Question: Write a program that matches the sentence number from Form A with the number of the same sentence in from Form B. for example. **input**

Write a program that matches the sentence number from Form A with the number of the same sentence in from Form B. for example. **input** form A " 1 aaaaaa 2 bbbbbb 3 cccccc 4 ddddd

form B " 1 cccccc 2 ddddd 3 bbbbbb 4 aaaaaa "

note that the input well be paste like " 1 cccccc 2 ddddd 3 bbbbbb 4 aaaaaa " Once for each form

**output** result should be like Form A =Form B 1=4 2=3 3=1 4=2

another example for how it should look like enter Form A "1 How was the meal? Delicious Okay Terrible 2 How was the texture of the meat? Too hard hard Perfect Too soft 3 Which of the following are you most satisfied with? Taste Texture Size "

enter form B "1 Which of the following are you most satisfied with? Taste Texture Size 2 How was the texture of the meat? Too hard hard Perfect Too soft 3 How was the meal? Delicious Okay Terrible " the output should be form A=Form B 1=3 2=2 3=1

another example for how it should look like enter form A 1 Ella 2 James 3 Avery 4 Harper 5 Mason

enter form B 1 Mason 2 Avery 3. Ella 4 James 5 Harper

formB=formA 1=5 2=3 3=1 4=2 5=4

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!