Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c++ 5. A file called people.txt contains many thousands of lines of data that look just like this 19911213 Douglas Davies 70 170NJ 19420117 Cory
c++
5. A file called "people.txt" contains many thousands of lines of data that look just like this 19911213 Douglas Davies 70 170NJ 19420117 Cory DeMilt 68 175 NY 19620606 Heironymous McTaggart 72 231 LA 19591106 Ian Williams 74 320 FL 19700620 Dante She11duck 64 168 ?? The data on each line are a person's birth date, their first and last name, their height in inches, their weight in pounds, and the state that they live in I. Write a complete C++ program, even showing the correct #includes, that 2. Create another file containing the data only for people who live on the West 3. Count and print the total number of people in the original file reads this file and performs the following tasks: coast their state w be one of CA, OR, or WA nal file
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started