subject

Write a C++ program that will perform the following sequence of the operations :
A. Build 2 arrays ( Array_1 and Array_2 ). Array_1 consist of
10 random characters that are between a - p inclusive .
Array_2 consist of 10 random characters that are between L
- T inclusive. Display Array_1 followed Array_2 in 2 separate
lines.
B. Create new list ( Array_3 ) that contain all elements of
Array_1 and elements of Array_2. Display Array_3.
Array_3 is created according to the following rules :
Element 1 from Array_1 followed by element 1 from Array_2
followed by element 2 from Array_1 followed by element 2 from
Array_2 ….etc.
C. Create a new array ( Array_4 ) by converting all lower-case
characters to upper case characters. Display Array_4.
D. Display the first character in Array_4 and then calculate and
display the number of occurrences of the first character in
Array_4.
E. Create a new array ( Array_5 ) by removing all duplicate
characters that are in Array_4 . Display number of characters
in Array_5 and then Display Array_5.
F. Sort the characters in Arrays_5 in descending order from
highest to lowest. Display Array_5.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
Which of the statements below is true? the formatting, standard, and drawing commands are unavailable. the formatting, standard, and drawing commands have been used. the formatting, standard, and drawing toolbars are displayed. the formatting, standard, and drawing toolbars are hidden.
Answers: 1
question
Computers and Technology, 22.06.2019 15:30
Melissa needs to add a topic to an email that she will send to her teacher. choose the name of the field where she should type her topic.
Answers: 2
question
Computers and Technology, 23.06.2019 00:40
Consider the following statements: struct nametype{string first; string last; }; struct coursetype{string name; int callnum; int credits; char grade; }; struct studenttype{nametype name; double gpa; coursetype course; }; studenttype student; studenttype classlist[100]; coursetype course; nametype name; mark the following statements as valid or invalid. if a statement is invalid, explain why.a.) student.course.callnum = "csc230"; b.) cin > > student.name; c.) classlist[0] = name; d.) classlist[1].gpa = 3.45; e.) name = classlist[15].name; f.) student.name = name; g.) cout < < classlist[10] < < endl; h.) for (int j = 0; j < 100; j++)classlist[j].name = name; i.) classlist.course.credits = 3; j.) course = studenttype.course;
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
What machine listens for http requests to come in to a website’s domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
You know the right answer?
Write a C++ program that will perform the following sequence of the operations :
A. Build 2...
Questions
question
Mathematics, 20.09.2021 15:40
question
Mathematics, 20.09.2021 15:40
question
Mathematics, 20.09.2021 15:40
question
History, 20.09.2021 15:40
question
Mathematics, 20.09.2021 15:40
question
Mathematics, 20.09.2021 15:40
question
Mathematics, 20.09.2021 15:40
Questions on the website: 13722359