Character Discrimination, just saying those words make me sick Recently, at the maine Tests Executions annual CharCon (Convention for Characters), I got to see this sick act first hand. a man Testa There were two arrays of characters, you see, and the goal was to pair up with characters from the other array in an effort to promote muti-character relationships. But most characters ended up pairing with their own kind and refused to be with anybody that looked differenti Test Cases Please, Coding Hero, help us end Characterism by taking all the characters from both O Test Case1 arrays without a similar character pairing and put them in another array so they don't feel rejected. Test Case 2 Input 1. Number of elements in the first array O Test Case 3 2. Elements of the first array Constraints O Test Case 4en All characters are alphabetical characters and a certain character wont exist more than once in its own array (eg letter won't exist twice). Test Case 5aten 3. Number of elements in the second array 4. Elements of the second array O Test Case 6 n Constraints All characters are alphabetical characters and a certain character wont exist more than once in its own array (eg letter won't exist twice). Output The first ine will contain a message prompt to input the number of elements in the first ay The second line will prompt for the elements of the first array. The third line wil contain a message prompt to input the number of elements in the second array. The fourth ine will prompt for the elements of the second array. The last ine will contain al the unique characters al converted to lowercase, in ascending order (Le. the first letter that comes in the alphabet comes first). Note that in this problem, casing doesn't matter (e a small letter a is the same asa capital letter al. Furthemore, it is guaranteed that there's at least 1 unique character from the 2 aays Enter the nunber of elements in the first array: 7 axydsqw Enter the nuber of elements in the second array: 7 bdsxydq unique characters a bw

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Multicultural Group

Code in C language

Executions
Character Discrimination, just saying those words make me sick! Recently, at the
annual CharCon (Convention for Characters), I got to see this sick act first hand.
Tests
main.c
> +
E Run Tests
There were two arrays of characters, you see, and the goal was to pair up with
characters from the other array in an effort to promote multi-character relationships.
But most characters ended up pairing with their own kind and refused to be with
Test Cases
anybody that looked different!
O Test Casel
Please, Coding Hero, help us end Characterism by taking all the characters from both
arrays without a similar character pairing and put them in another array so they don't
feel rejected.
O Test Case 2
Input
1. Number of elements in the first array
O Test Case 3
2. Elements of the first array
Constraints
O Test Case 4 Hidden
All characters are alphabetical characters and a certain character won't exist more
than once in its own array (e.g. letter 'a' won't exist twice).
O Test Case 5 Hidden
3. Number of elements in the second array
4. Elements of the second array
Constraints
O Test Case 6 Hidden
All characters are alphabetical characters and a certain character won't exist more
than once in its own array (e.g. letter 'a' won't exist twice).
Output
The first line will contain a message prompt to input the number of elements in the
first array.
The second line will prompt for the elements of the first array.
The third line will contain a message prompt to input the number of elements in the
second array.
The fourth line will prompt for the elements of the second array.
The last line will contain all the unique characters all converted to lowercase, in
ascending order (i.e. the first letter that comes in the alphabet comes first). Note that
in this problem, casing doesn't matter (i.e. a small letter a is the same as a capital
letter a). Furthermore, it is guaranteed that there's at least 1 unique character from the
2 arrays.
Enter the number of elements in the first array: 7
a xy ds q W
Enter the number of elements in the second array: 7
bd s xy d q
Unique characters = a b w
Transcribed Image Text:Executions Character Discrimination, just saying those words make me sick! Recently, at the annual CharCon (Convention for Characters), I got to see this sick act first hand. Tests main.c > + E Run Tests There were two arrays of characters, you see, and the goal was to pair up with characters from the other array in an effort to promote multi-character relationships. But most characters ended up pairing with their own kind and refused to be with Test Cases anybody that looked different! O Test Casel Please, Coding Hero, help us end Characterism by taking all the characters from both arrays without a similar character pairing and put them in another array so they don't feel rejected. O Test Case 2 Input 1. Number of elements in the first array O Test Case 3 2. Elements of the first array Constraints O Test Case 4 Hidden All characters are alphabetical characters and a certain character won't exist more than once in its own array (e.g. letter 'a' won't exist twice). O Test Case 5 Hidden 3. Number of elements in the second array 4. Elements of the second array Constraints O Test Case 6 Hidden All characters are alphabetical characters and a certain character won't exist more than once in its own array (e.g. letter 'a' won't exist twice). Output The first line will contain a message prompt to input the number of elements in the first array. The second line will prompt for the elements of the first array. The third line will contain a message prompt to input the number of elements in the second array. The fourth line will prompt for the elements of the second array. The last line will contain all the unique characters all converted to lowercase, in ascending order (i.e. the first letter that comes in the alphabet comes first). Note that in this problem, casing doesn't matter (i.e. a small letter a is the same as a capital letter a). Furthermore, it is guaranteed that there's at least 1 unique character from the 2 arrays. Enter the number of elements in the first array: 7 a xy ds q W Enter the number of elements in the second array: 7 bd s xy d q Unique characters = a b w
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY