Language C Part Create Print Two Arrays One String One Integer Read File Following Data A Q37281101

The language is C++

Part I:

Create and print out the two arrays (one string and oneinteger). Read in from a file with the following data:

Anne 150

Bob 250

Ralph 305

Tim 250

Barbara 85

Jane 160

Steve 180

Tom 210

Mike 165

Shirley 155

Pam 125

Frank 130

Part II:  The elevators in ourbuilding have an 1100 lb. load limit.  Determine whichpeople in the list above get on the elevator. Print their names,weights, total weight, and how many got on to an outputfile.  

       

Part III:  Rearrange these people inascending sequence by weight and print thetwo arrays.  Determine again how many may ridethe elevator, printing out their names, weights, total weight andthe number of how many people got on

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.