Thread View: btl.sources
1 messages
1 total messages
Started by marks
Thu, 25 Aug 1983 14:44
TAX modifications
Author: marks
Date: Thu, 25 Aug 1983 14:44
Date: Thu, 25 Aug 1983 14:44
69 lines
2313 bytes
2313 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads