Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

plz help with the same exact output ill give thumbs up it is c++ 5. Write a program that prompts the user for their first

plz help with the same exact output ill give thumbs up it is c++image text in transcribed

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: 1. File : userid.cpp This program generates a 2-letter and 6-digit userid Programmer: your name Date: ./ #include #include #include // rand() and srand() #include // time() to get the current time using namespace std: int main(void) 1. You fill in here al return 0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Databases Concepts And Practice

Authors: Suzanne W Dietrich

1st Edition

1119827949, 9781119827948

More Books

Students also viewed these Databases questions

Question

=+2. What is the difference between brand voice and tone?

Answered: 1 week ago

Question

Understand how customers respond to effective service recovery.

Answered: 1 week ago