Write a C++ program that declares an array alphabet of 4 rows and 6 columns of type char, Then: 1) Set the content of the components of the array to be as the following: a a e r a a a b. a # a u 2) Convert the content of the components of the array (using do-while loop) to be as the following: A M M A N J E R A S H A Q A B A # A J L U N 3) Count the vowel letters in the array (using while loop and switch structure). 4) Print the array alphabet (using for loop).

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 1PP: (Statistics) a. Write a C++ program that reads a list of double-precision grades from the keyboard...
icon
Related questions
Question

HELP ME WITH THIS C++ ASSINMENT

Write a C++ program that declares an array alphabet of 4 rows and 6 columns of type char, Then:
1) Set the content of the components of the array to be as the following:
a
m
a
e
r
a
h
a
a
a
23
a
j
u
2) Convert the content of the components of the array (using do-while loop) to be as the following:
A
M
M
A
N
J
E
R
A
H
A
Q
A
B
A
A
J
L
N
3) Count the vowel letters in the array (using while loop and switch structure).
4) Print the array alphabet (using for loop).
Transcribed Image Text:Write a C++ program that declares an array alphabet of 4 rows and 6 columns of type char, Then: 1) Set the content of the components of the array to be as the following: a m a e r a h a a a 23 a j u 2) Convert the content of the components of the array (using do-while loop) to be as the following: A M M A N J E R A H A Q A B A A J L N 3) Count the vowel letters in the array (using while loop and switch structure). 4) Print the array alphabet (using for loop).
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
ADT and Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,