Menu

[Solved]Ada Agusta F 1000 19569 28 Issac Asimov M 1825 63948 58 Humphry Bogart M 2000 48482 56 Alb Q37296912

Hello, I need help completing a problem for my intro computer science class. It includes a .dat file that I am having trouble

Ada     Agusta    F 10.0019569 28

Issac   Asimov    M 18.25 63948 58

Humphry Bogart    M 20.00 48482 56

Albert Einstein M 11.10 47474 67

Emmylou Harris    F 33.50 72647 38

James   Kirk      M 18.8582828 46

Ted     Kopple    M 22.2537376 48

David   Letterman M 15.50 19338 47

Stevis Nicks     F 18.85 23459 38

Monty   Python    M 33.35 80939 44

Roger   Rabbit    M 15.00 91343 24

Sally   Ride      F 25.5091123 30

Rod     Serling   M 55.50 9393956

Luke    Skywalker M 19.95 12343 35

Kit     Ross      F11.00 20000 21

Mike    Smith     M 23.3510000 30

And here are instructions on what to do with it: Assume this input file contains an unknown number of lines/employees. Each l

Hello, I need help completing a problem for my intro computer science class. It includes a .dat file that I am having trouble understanding how to use. I am also having trouble understanding struct. Any clear help would be appreciated, thank you! Here is text from a .dat file that I need to use to do the problem: And here are instructions on what to do with it: Assume this input file contains an unknown number of lines/employees. Each line contains the information about an employee – first name, last name, gender, hourly rate, employee id and age. Assume the number of lines/employees never exceeds 100. Ada Agusta F 10.00 19569 28 Issac Asimov M 18.25 63948 58 a) Create a struct called employee. b) In the main, create 2 arrays of the struct employee type called mAr and fAr. mAr will have all the male employees and fAr will have all the female employees. Use const for the size (100) of each array. Show transcribed image text Hello, I need help completing a problem for my intro computer science class. It includes a .dat file that I am having trouble understanding how to use. I am also having trouble understanding struct. Any clear help would be appreciated, thank you! Here is text from a .dat file that I need to use to do the problem:
And here are instructions on what to do with it: Assume this input file contains an unknown number of lines/employees. Each line contains the information about an employee – first name, last name, gender, hourly rate, employee id and age. Assume the number of lines/employees never exceeds 100. Ada Agusta F 10.00 19569 28 Issac Asimov M 18.25 63948 58 a) Create a struct called employee. b) In the main, create 2 arrays of the struct employee type called mAr and fAr. mAr will have all the male employees and fAr will have all the female employees. Use const for the size (100) of each array.

Expert Answer


Answer to Ada Agusta F 10.00 19569 28 Issac Asimov M 18.25 63948 58 Humphry Bogart M 20.00 48482 56 Albert Einstein M 11.10 47474… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *