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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started