Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help! 2

Status
Not open for further replies.

tsdragon

Programmer
Dec 18, 2000
5,133
0
0
US
I need some perl code to calculate my taxes. It must handle form 1040 as well as schedules C and SE. I need it by April 15th. Please Help!
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
keep dreaming
do your work yourself
did u learn perl yesteday ?
 
Hey I need a copy of That as well Please!!! Please someone help US!!!!!! OMG ITS THE 14Th AAAAAAAAaaaaaa


 
u folks are in trouble
unless u give me the algebra formula !
cause mine is diferent i live in QC (world most taxed)[/red]
i u got the formula
u are saved in an hour its a thing of the past
wink
 
I haven't got any perl code for it yet, but here's my pseudocode for the tax program:
Code:
How much money did you make last year?
Send it to us.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Tracy,

It is not that bad. The code really should be:
Code:
print "How much money did you make last year? ";
$Income = <STDIN>;
print &quot;How much have you paid in taxes for last year? &quot;;
$Paid = <STDIN>;
$ToBePaid = $Income - $Paid;
if ($ToBePaid == 0) {
   print &quot;See you next year \n&quot;;
} elsif ($ToBePaid < 0) {
   $Refund = abs($ToBePaid);
   sleep(99999999);
   print &quot;We will send you a check for \$$Refund sometime in the distant future. \n&quot;;
} else {
   print &quot;Immediatley send us a check for \$$ToBePaid \n&quot;;
}
 
raider: Good job! I didn't check your profile. Are you sure you don't work for the IRS?

It probably wouldn't be appropriate to give you a star for this thread, otherwise you would get one.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top