[net.auto] Gas mileage program, anyone?

ajs@hpfcla.UUCP (12/30/83)

#N:hpfcla:13200001:000:1025
hpfcla!ajs    Dec 26 15:33:00 1983

Would anyone like me to post a gas mileage "compiler" program?  It takes
an input file containing lines of the form:

	YYMMDD  odometer  decigallons  pennies  station

For example:

	831223  52751  78   950 EX

It prints a nice little report, including annual and grand totals:

NUM   DATE   DAYS  MILEAG  MILES   GALS   COST   PL   MPG  MPD   CPG   CPD
===  ======  ====  ======  =====  =====  ======  ==  ====  ===  ====  =====
  0  770627     0       0
  1  770629     2     129    129    8.5    6.50  ??  15.2    65  0.76  3.25
	.
	.
	.
222  831223    20   52751    230    7.8    9.50  TE  29.5    12  1.22  0.48

              373           4369  146.9  175.84      29.7    12  1.20  0.47

             2370          52751 1664.7 1652.33      31.7    22  0.99  0.70

If you'd  like me to write a manual  entry and post that and the  source
(215 lines, 5Kb), please mail me.

Alan Silverstein, Hewlett-Packard Fort Collins Systems Division, Colorado
ucbvax!hplabs!hpfcla!ajs, 303-226-3800 x3053, N 40 31'31" W 105 00'43"

ajs@hpfcla.UUCP (01/07/84)

#R:hpfcla:13200001:hpfcla:13200002:000:348
hpfcla!ajs    Jan  5 22:22:00 1984

Thanks for all the letters asking for copies of the gas mileage program.
I've lost count of them.  So, I wrote a manual page, and just posted the
package (all in one article) to net.sources.  Enjoy.

Alan Silverstein, Hewlett-Packard Fort Collins Systems Division, Colorado
{ihnp4 | hplabs}!hpfcla!ajs, 303-226-3800 x3053, N 40 31'31" W 105 00'43"