I've gotten it to output in address format
Your computer must run quite a bit different than mine then.
Once you've entered your string
char word [80];
cin >> word;
or whatever size you think you need, then just cycle through all the characters changing
# to carriage returns and anything after spaces and periods to upper case
int pntr;
for (pntr = 0; pntr < strlen (word); pntr++)
.... conditional code here
word [pntr] ^= 0x20;
Invent whatever looping operation you like with DO, FOR or WHILE with either conditionals or SWITCH.
If your code would have at least output in the proper format I would have given you the solution, but it doesn't come anywhere near that.