Write in an algorithm using with psuedocode or flowcharting

Problem statement:
You need to provide the instructions necessary to read in 100 numbers and count the number of even and odd numbers.
Use the get instruction to obtain the next number in the file and put to write your results.

You haven't really stated any question? But I guess you want help with the algorithm.

Read the numbers from the file and put them in a list (also known as an array) and make a for loop to iterate over it. To check for even and odd numbers, check if the number is devidable by 2. And make it only work with integers so you can't get floats. This will result in only even numbers will be able to be devited. Last, print your results.

Thats as basic as possible and since you havent' provided me with any info about which language you use, I can't give a more specific reply. But this should show you how it's done :)

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.