Question: in c++ programming code Define a character array named nameArray that contains the first 7 letters of your full name as the array's elements in
in c++ programming code

Define a character array named nameArray that contains the first 7 letters of your full name as the array's elements in sequence. For e.g., for someone named Jon. P. Doe, the variable should be: char nameArrayll ['J, 'o', 'N','P,'D'O, 'E'H; Please make sure to represent your full legal name (as it appears in your Baruch college registration records) and use all uppercase characters. If your full name has more than 7 letters, take the first 7 letters. If your full name has less than 7 letters, pad it by repeating characters. For. e.g. if your name is Xu Li, pad it like so: {'X','U','L','I','X'.'U'L'y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
