Coders Packet

Random User Generator using C++

By SAYAK MUKHOPADHYAY

It is a Random User Generator written in C++ Programming Language. It provides basic details of a randomly generated user.

It is a Random User Generator written in the C++ programming language.
It provides basic details of a randomly generated user.
The details include
i)Name of the user
ii)Date of Birth
iii)Email id
iv)Contact Number
v)A image URL of the display picture
Here some basic C++ language concept has been used like Class, Vector of Object, Vector of the string class, A Random Function. Along with these conditional statements (if-else), for loop, while loop is also being used.
Steps to Execute the program
Step 1: First Compile and Run the randomUser.cpp file.
Step 2: On successful compilation, the program starts execution and asks to enter the length of the First Name and Last Name of a user that will be
created randomly

                           Run_randomUser

Step 3: After entering the required it will provide the details of a randomly generated user.

                           details_randomUser

Step 4: After that, it asks for creating another user or not.

                          Qs

Step 5: On entering 1(one) it will provide details of another generated user in the same way and on entering 2(two) it will print all the previously generated user and terminates with a message "Thank You"

           one_randomUser two_randomUser 

 

 

Download Complete Code

Comments

No comments yet