TAX modifications
marks at ihuxx.UUCP
marks at ihuxx.UUCP
Fri Aug 26 00:44:05 AEST 1983
Boy, become a submitter to the net and meet all sorts of new people!!
The 'tax' program I submitted:
1. had a typo that I (and my C compiler) missed - probably due
symbol length limits on USG UNIX being different from BSD UNIX.
2. as I stated, was written on USG UNIX and may (read doesn't)
work with BSD UNIX (which I don't have access to).
Thanks to Bruce Parker (psuvax!parker) for castigation and
Mark (rochester!mark) for the following mods:
Mark Beckner - Bell Labs
Naperville, Illinois 60566
ihnp4!ihuxx!marks / 312-979-1688
===========================================================================
47c47
< double ceiling[ NOofBRACKETS ][ NOofCLASSES ] = {
---
> double ceiling[ NOofBRACKETS ][ NOofCLASSSES ] = {
83d82
< #ifdef USG
86d84
< #endif
98d95
< #ifdef USG
130,173d126
< #else
< if (argc == 1)
< {
< usage();
< exit(1);
< } /* end if */
< argc--;
< argv++;
< while (argc > 0)
< {
< argc--;
< if (**argv == '-')
< {
< (*argv)++;
< switch (**argv++) {
< case 'e':
< sscanf(*argv, "%d", &nexemptions);
< break;
< case 'g':
< sscanf(*argv, "%f", &gross);
< break;
< case 'n':
< ++netflag;
< break;
< case 'p':
< if (**argv == 'w') {
< payperiods = 52;
< j -= MONTHLY;
< }
< break;
< case 's':
< if (**argv == 's') {
< j -= MARRIED;
< }
< break;
< default :
< fprintf(stderr, "tax: bad option\n");
< exit(1);
< } /* end switch */
< } /* end if */
< argc--;
< argv++;
< } /* end while */
< #endif
More information about the Comp.sources.unix
mailing list