Question: please in C++ 3.2/ LAB: Login name Write a program that creates a login name for a user, given the user's first name, last name,

3.2/ LAB: Login name Write a program that creates a login name for a user, given the user's first name, last name, and a four-digit integer as input. Output the login name, which is made up of the first five letters of the last name, followed by the first letter of the first name, and then the last two digits of the number (use the % operator). If the last name has less than five letters, then use all letters of the last name. Hint. Use the to string0 function to convert numerical data to a string. Ex. If the input is: Michael Jordan 1991 the output is: Ex. If the input is: Kanye West 2024 the output is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
