The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > General Programming > Visual Basic


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags:

Closed Thread
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 06-10-2007, 04:21 PM
Johan K
Posts: n/a
[SOLVED] Visual Basic 2005: Write a program that requests taxable income and calculat

...federal income tax.? Write a program that requests taxable income and calculates federal income tax. Use a Sub procedure for the input and a Function procedure to calculate the tax.
$0 - $7,150 Tax payable=10%
$7,151 - $29,050 Tax payable=$715.00 + 15%
$29,051 - $70,350 Tax payable= $4,000.00 + 25%
$70,351 - $146,750 Tax payable=$14,325.00 + 28%
$146,751 - $319,100 Tax payable=$35,717.00 + 33%
Over $319,101 Tax payable=$92,592.50 + 35%

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #2 (permalink)  
Old 11-15-2007, 10:38 AM
peterpan0883 peterpan0883 is offline
Novice
Join Date: Nov 2007
Posts: 1
iTrader: (0)
peterpan0883 is on a distinguished road
help

Hi I'm lauren. I'm in a vb programming class and I need help. I noticed that you posted the same problem that I am working on. I have to make a form and write the code for that problem. I am having so much trouble doing so. I have to turn the problem in in 3 hours. If you could help me I will pay you for your time. Let me know.

Lauren
360-521-9892

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #3 (permalink)  
Old 11-16-2007, 08:11 AM
ccoonen ccoonen is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jun 2007
Location: Wisconsin
Posts: 308
iTrader: (0)
ccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished road
Private Function Calc(Amt as Decimal) as Decimal
Dim RetVal as new Decimal(2)
Select Case Amt
Case 0 To 7150
RetVal = Amt * .1
Case 7151 To 29050
RetVal = (Amt * .15) + 715
... and So On...
End Select
Return RetVal
End Function

' To Call It
Msgbox(Calc(456.45))

Last edited by ccoonen : 11-16-2007 at 10:50 AM.
The Following User Says Thank You to ccoonen For This Useful Post:
HelloWorld (11-16-2007)
  #4 (permalink)  
Old 11-16-2007, 08:12 AM
ccoonen ccoonen is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jun 2007
Location: Wisconsin
Posts: 308
iTrader: (0)
ccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished road
Please pay me now, hehe
The Following User Says Thank You to ccoonen For This Useful Post:
HelloWorld (11-16-2007)
Closed Thread


Thread Tools
Display Modes

   Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 10:35 AM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50