Answer to Question #58456 in C++ for brandon
theƒFollowingƒData” in a character array named message1, the string “------------” in
an array named message2, the string “EnterƒtheƒDate:” in an array named message3, and
the string “EnterƒtheƒAccountƒNumber:” in an array named message4.
b. Include the array declarations written in Exercise 7a in a program that uses a cout statement to display the messages. For example, the statement coutƒ<<ƒmessage1; causes the
string stored in the message1 array to be displayed. Your program requires four of these
statements to display the four messages. Using a cout statement to display a string requires
placing the end-of-string marker \0 in the character array used to store the string.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!