Question: Sample output above. Create a c++ project.Prompt the user to input the following userinformation, and echo the information to the screen. 1. Full User Name

 Sample output above. Create a c++ project.Prompt the user to input

Sample output above.

Create a c++ project.Prompt the user to input the following userinformation, and echo the information to the screen.

1. Full User Name - a string that may contain blanks ex: Jean Morton

2. User Alias a string that does not contain blanks ex: potteryQueenJean

3. Gender a single character ex: f

.4. Rating a floating point value ex: 93.36

5. UID (User ID number) an integer value ex: 902514

6. Phone Number a string that does not contain blanks ex: 7575551212

Prompt the user for the name of the file containing the list of items for auction: Open the file and process the following for each item in the file:.

1. Name a string that may contain blanks ex: Chinese Vase with Green Elephant decor

2. Time a string that does not contain blanks ex: 07:10:36

3. Price a floating point value. ex: 38.99

Determine and display the following information:

1. Total Number of all items up for auction an integer value

2. Highest and Lowest Cost found amongst these items floating point values.

3. Average Cost of all items floating point value. (price sum / number items )

4. Rounded Average Cost of all items an integer value. (round average found above )

5. WebAddPoints floating point value(calc with formula below)

webpoints=number of items +(sqrt(average price)/(donation+webadd))^3

1.WebAddPoints is a value calculated with the formula above, and using DONATION and WEBADD which are constant values declared in the provided code template.

2. You must use the math functions pow and sqrt for the above formula.

3. If there is only one item in the items file, then the WebAddPoints is equal to zero

CAUsersWBoyleNDesktop12017 150 springprojectsproject spring2017bbi PROJECT 1 Programmer Name & Info Here Enter tuTT name Lucy S Enter alias lucyd Enter Gender: f 83943 Enter user ID Enter seven digit phone 8005551212 91.53 Enter user Rating Enter items file name :items 4.txt User Information Name Lucy Skkydyme Alias lucyd Sex ID 83943 Phone 8005551212 91.53 Rate tem Listin Price Time Name 23.00 05:08:23 case 68.00 09:16:12 Stationary products 9968.99 13:24:32 3-D Bio-printer 1899 Colt Revolver 6801.99 20:30:48 Set of books 452.99 09:25:34 822.69 11:47: 16 Pickled Dinosaur Egg tem Statistics. Item Count Avg Price 3023.00 544.00 Donation High Price 9968.99 Low Price 23.00 WebAddPts 1321.41 rocess returned 0 COx0) execution time 106.830 CAUsersWBoyleNDesktop12017 150 springprojectsproject spring2017bbi PROJECT 1 Programmer Name & Info Here Enter tuTT name Lucy S Enter alias lucyd Enter Gender: f 83943 Enter user ID Enter seven digit phone 8005551212 91.53 Enter user Rating Enter items file name :items 4.txt User Information Name Lucy Skkydyme Alias lucyd Sex ID 83943 Phone 8005551212 91.53 Rate tem Listin Price Time Name 23.00 05:08:23 case 68.00 09:16:12 Stationary products 9968.99 13:24:32 3-D Bio-printer 1899 Colt Revolver 6801.99 20:30:48 Set of books 452.99 09:25:34 822.69 11:47: 16 Pickled Dinosaur Egg tem Statistics. Item Count Avg Price 3023.00 544.00 Donation High Price 9968.99 Low Price 23.00 WebAddPts 1321.41 rocess returned 0 COx0) execution time 106.830

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!