Search Results

Search: Posts Made By: ksmarine1980
1,463
Posted By ksmarine1980
You're a rock star man!
You're a rock star man!
1,463
Posted By ksmarine1980
Thank you, Chubler! What if I wanted to...
Thank you, Chubler!

What if I wanted to compute the average and count after the end statement?

I've got the total using a for loop, but can't figure out how to get the count to divide it by?...
1,463
Posted By ksmarine1980
That did the trick! Again - thank you Chubler!! ...
That did the trick! Again - thank you Chubler!!

Now to simultaneously populate an array with all these numbers and output the average value and count.
1,463
Posted By ksmarine1980
Thank you, Chubler! That did part of the...
Thank you, Chubler!

That did part of the trick, the only problem is the current text file I'm looking at has some negative numbers, which I need to keep.

Here's part of the input (which is an...
1,463
Posted By ksmarine1980
Thank you! I don't think I explained myself well....
Thank you! I don't think I explained myself well. I'm not looking to delete any of the file I'm reading in from. I simply want to ignore any words and ONLY read in the numbers. Some of the files I'm...
1,463
Posted By ksmarine1980
Number calculations
I'm writing a script that will read all the fields of a text file into an array(if they are numeric), while at the same time computing the minimum and maximum values from the file. After that I want...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 03:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy