https://github.com/heyfoz/cpp_name_string_manipulator
The Name String Manipulator Program (C++) uses a loop to ask a user to enter a name in FirstName MI LastName format (MI represents middle initial). A string is passed to a function that converts the input to LastName, FirstName MI format. The resulting string is printed to the console.
https://github.com/heyfoz/cpp_name_string_manipulator
cpp functions name string-manipulation
Last synced: over 1 year ago
JSON representation
The Name String Manipulator Program (C++) uses a loop to ask a user to enter a name in FirstName MI LastName format (MI represents middle initial). A string is passed to a function that converts the input to LastName, FirstName MI format. The resulting string is printed to the console.
- Host: GitHub
- URL: https://github.com/heyfoz/cpp_name_string_manipulator
- Owner: heyfoz
- License: mit
- Created: 2022-10-28T18:02:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-28T19:28:30.000Z (over 3 years ago)
- Last Synced: 2025-01-30T05:11:47.518Z (over 1 year ago)
- Topics: cpp, functions, name, string-manipulation
- Language: C++
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cpp_name_string_manipulator
The Name String Manipulator Program (C++) uses a loop to ask a user to enter a name in FirstName MI LastName format (MI represents middle initial).
A string is passed to a function that converts the input to LastName, FirstName MI format. The resulting string is printed to the console.
The program was designed with inclusivity in mind, allowing users without middle names to enter N/A for middle initials. Additionally, the program allows users to enter last names that contain spaces.
Link the main cpp file: Name String Manipulator C++ Program
Copyright (c) 2022 ffm5113