Question: ask 2 : Display Users / / Display all users: / / This function takes as input: / / 1 ) the users list /
ask : Display Users
Display all users: This function takes as input: the users list And works as follows: Traverse the list, and invoke the GIVEN function printuserdataUser user to print the data of each user DISCLAIMER: You MUST not modify any GIVEN function or the contents of given cout's. void displayusersUser userhead TODO: Write code to implement Print this first and return imidiately if there are no users coutNo users in the system yet"
;display this when no users exist cout Users List uid name endl;
Here is a sample way to display users:
Suppose we have Johnuid: Bobuid: and Peteruid: in the list
Users List uid name User Id: name: Bob User Id: name: John User Id: name: Peter
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
