Quick C++ fix question: Watch the whole instruction and answer pls… Quick C++ fix question:Watch the whole instruction and answer plsHere is the output:————————————————————–|> Person 1: MemberParliament————————————————————–| MP9403 | 59 | Unassigned| MP9403| | Unassigned —> Scarborough || MP9403| | Scarborough —> Mississauga || MP9403| | Mississauga —> Huron County || MP9403 | 59 | Huron County————————————————————–|> Person 2: Read/Write————————————————————–Age: 40Id: MP9566District: Milton| MP9566 | 40 | Milton————————————————————–|> Person 3: Minister————————————————————–| MP9573| | Unassigned —> Pickering || MP9573| | Pickering —> Whitby |Status of New Election | MP9573 | 63 | Whitby | Trudeau/2007| MP9573| | Whitby —> Kitchener |Status of New Election | MP9573 | 63 | Kitchener | Biden/2010| MP9573| | Kitchener —> Oakville|Status of New Election | MP9573 | 63 | Oakville | Trump/2015————————————————————–|> Person 4: Read/Write————————————————————–Age: 66Id: MP9701District: SudburyReports TO: ObamaYear Assumed Office: 2021| MP9701 | 66 | Sudbury| MP9701 | 66 | Sudbury | Obama/2021 The output i have base on my code: ————————————————————–|> Person 1: MemberParliament————————————————————–| MP9403 | 59 | Unassigned || MP9403| | Unassigned —> Scarborough || MP9403| | Scarborough —> Mississauga || MP9403| | Mississauga —> Huron County || MP9403 | 59 | Huron County |————————————————————–|> Person 2: Read/Write————————————————————–MP Age: 40MP Id: MP9566District: Milton| MP9566 | 40 | Milton |————————————————————–|> Person 3: Minister————————————————————–| MP9573| | Unassigned —> Pickering || MP9573| | Pickering —> Whitby |Status of New Election | MP9573 | 63 | Whitby | Trudeau/2007| MP9573| | Whitby —> Kitchener |Status of New Election | MP9573 | 63 | Kitchener | Biden/2010| MP9573| | Kitchener —> Oakville|Status of New Election | MP9573 | 63 | Oakville | Trump/2015————————————————————–|> Person 4: Read/Write————————————————————–MP Age: 66MP Id: MP9701District: SudburyReports TO: ObamaYear Assumed Office: 2021| MP9701 | 66 | Sudbury || MP9701 | 66 | Sudbury | Obama/2021 You can tell that the problem is there is a difference, a extra ” | ” appends on these lines.| MP9403 | 59 | Unassigned || MP9403 | 59 | Unassigned| MP9701 | 66 | Sudbury || MP9701 | 66 | SudburyPlease help me to modify my code base on the problem i have mentioned, the problem are mainly occur in the MemberParliament.cpp Here is the code that i have written so far: https://replit.com/join/mpnsctvdae-coffeemate73 Be advised, the problem are mainly occurs in line 26 in MemberParliament.cpp , if you deleted the ” | ” after this_district, the new problem will be occur in this way:Status of New Election | MP9573 | 63 | Whitby | Trudeau/2007Status of New Election | MP9573 | 63 | Whitby Trudeau/2007 Missing the ” | ” after the district Whitby. In short, i want you to help me with modify the code, to output as same as the expected output. My thought on this is i have to separate in two parts, letting the ” | ” will not only follow after this_district main.cpp file couldn’t be modify, others can be modify as u want, big thanks!!!Computer Science Engineering & Technology C++ Programming OOP 244
You will get a plagiarism-free paper and you can get an originality report upon request.
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more