- 3

Given the following set: {b, f, g, h, a, c} You are required to write a C++ programming code that will perform the following

Write an array code in C++ that will: 1. Sort the array [5] 2. Give count index to each character [3] 3. Count and print the number of characters in the given array [2] 4. Print the first and the last "sorted” character. [5] 5. Add character “z” in the given array, then print the new set array. [5]

7th Jun 2021, 12:09 AM
Loona
6 Réponses
+ 2
Nice homework, but don't use this section as your notebook. If you want help, share your attempt
7th Jun 2021, 12:40 AM
Michal Doruch
0
Okay thanks
7th Jun 2021, 1:33 AM
Loona