C++ coding

Hello i need someone to help me write the code, also i need a flowchart with it. Reading from the when12 text file 

"Is this question part of your assignment? We can help"

ORDER NOW