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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:30, juliannxkim
Which group on the home tab allows you to add shapes to a powerpoint slide?
Answers: 1
image
Computers and Technology, 22.06.2019 19:30, ibrahimuskalel
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
image
Computers and Technology, 24.06.2019 07:00, janeliles
Why would a business likely use a java applet - to back up their data files for the business - to create a program that a customer can launch in their web browser - to create music on a powerpoint presentation - to organize files on their company directory
Answers: 3
image
Computers and Technology, 24.06.2019 22:30, anselmojohn4370
Distinguish between a skill resume and a chronological resume and explain when it is best to use each format
Answers: 1
You know the right answer?
Write a C++ program that will perform the following sequence of the operations :
A. Build 2...

Questions in other subjects:

Konu
Mathematics, 21.11.2020 02:10
Konu
Mathematics, 21.11.2020 02:10
Konu
Health, 21.11.2020 02:10