I need help to write this program.


Create a data file that contains 15 integers, some positive and some negative. You may create the file in Notepad or any other text editor software. Save the file to the same folder your program will be in.
Write a program that reads the numbers from the file and outputs the following to a separate output file:
the values found in the file
how many positive and negative numbers there are
the average of the numbers in the file

Recommended Answers

All 2 Replies

There seems to be no program yet, so there's nothing to help with. Best of luck to you.

wow you really are jumping some pages on that book of yours, start with the most basic things like in your first post when you get that all figured out keep going

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.