Write an application that prints a summary report for a poultry farm. The farm has seven (7) chicken coups each numbered 1 to 7. When a farmer collects eggs each morning and evening, he records the coup number and the number of eggs collected from the coup. The data for the morning and evening collection are stored in separate files – morningEggs.txt and eveningEggs.txt. The report should have an appropriate header and must list each of the seven coups, the number of eggs collected in the morning, the number of eggs collected in the evening and the number of dozens of eggs from both collections.

Im a sort of newbie when it comes to programming. I just need some help with opening the files and displaying them. Thanks :)

No this is not a school assignment...just something i thought i'd practice

Recommended Answers

All 2 Replies

HELP!! C++ HELP NEEDED URGENTLY

No this is not a school assignment...just something i thought i'd practice

No this is not a school assignment...just something i thought i'd practice

That doesn't remove the onus of making an honest attempt.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.