Hi there!!
I have a simple program (I'm a newbie) that inputs data for different people.
For instance:
Employee nr? 122
Nr of years in company? 2
Employee nr? 29
Nr of years in company? 5
The thing I wanna ask is for a simple way to se a output when all the input is done how many employees the company has? (e.g. counting the number of input employees) I know there are, I just haven't figured it out yet. Should I use "for" or something else.
The output should be something like:
There are currently 55 employees and the average years in the company is 3
Thankfull for any help...