Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please do the question in C++ 5. Write a program that prompts the user for their first name, then generates a userid formed by two
Please do the question in C++
5. Write a program that prompts the user for their first name, then generates a userid formed by two letters and six digits, as follows: - The two letters come from the first name, that is, the 1st initial followed by the second non-vowel letter from the first name. The vowels are the characters a, e, i, o, and u. - The 6-digit portion is generated randomly. Here are sample program inputs/outputs: Enter your first name: Jane You entered: Jane Your userid is: jn123456 Enter your first name: Aaron You entered: Aaron Your userid is: ar654321 Run your program with your first name as input. Here is a template to get started: /* File: userid.cpp This program generates a 2-letter and 6-digit userid Programmer: your name Date: #includeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started