Simple C++ code (what's wrong here?)
- by JW
Noob to C++.
I'm trying to get user input (Last Name, First Name Middle Name), change part of it (Middle Name to Middle Initial) and then rearrange it (First Middle Initial Last).
Where am I messing up in my code?
--Thanks for ANY help you can offer!
...
#include <iostream>
using std::cout;
using std::cin;
#include <string>…