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 12:40
The most complicated four letter word
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Stops: using the information learned in this course, explain three things you will not do when driving. a. b. c. explain why you will not do these things when driving. starts: using the information learned in this course, explain three things you will do when driving. a. b. c. explain why you will do these particular things when driving. explain one thing you will stop doing as a passenger. explain one thing you will start doing as a passenger.
Answers: 3
question
Computers and Technology, 24.06.2019 00:40
What is the error in the following pseudocode? module main() call raisetopower(2, 1.5) end module module raisetopower(real value, integer power) declare real result set result = value^power display result end module
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
Verify each identity[tex] \frac{csc}{cot \: x \: + \: tan \: x} = cos \: x[/tex]
Answers: 1
You know the right answer?
Write a C++ program that will perform the following sequence of the operations :
A. Build 2...
Questions
Questions on the website: 13722359