Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can i get help with this question with detailed explanation for a thumbs up...Program should be written in C++. 5. Write a program that prompts

Can i get help with this question with detailed explanation for a thumbs up...Program should be written in 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: You entered: Jane Your userid is: jn123456 hom Jane 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 9-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 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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions