Current location: Hot Scripts Forums » General Community » Script Requests » Please write this for its URGENT


Please write this for its URGENT

Reply
  #1 (permalink)  
Old 07-22-06, 01:14 AM
naaa naaa is offline
New Member
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Help write this Program Please

Write a PERL program that records a file with 4 fields from the database. The fields are Emp_code, Emp_name, Basic_pay,
Also program to find the following:
HRA=12%of Basic_pay
DA=6%of Basic_pay
Vehicle Allowance (VA) = 2.4%of Basic_pay
Professional Tax (PT) =1%of Basic_pay
PF=12%of Basic_pay
Net_pay=Basic_pay+HRA+DA+VA-PF-PT

Last edited by naaa; 07-22-06 at 01:26 AM. Reason: changin topic
Reply With Quote
  #2 (permalink)  
Old 07-22-06, 10:30 PM
schmiddy schmiddy is offline
Newbie Coder
 
Join Date: Jul 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Clarity

Provide more detailed description of exactly what the input and output of your program should be if you want anyone to bother with this. Is the program supposed to read from a database? If so, what's the name of the database to be read from, name of tables to read, etc.

What does "records a file" mean? You want the output to be a simple text file? What sort of format?

Other than that, the formulas to be implemented are trivial.. pick up a book on Perl, "Learning Perl" by Schwartz is a good one.
Reply With Quote
  #3 (permalink)  
Old 07-22-06, 11:25 PM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Please do your own schoolwork.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
  #4 (permalink)  
Old 07-23-06, 07:12 AM
alane alane is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 71
Thanks: 6
Thanked 0 Times in 0 Posts
Quote:
4 fields from the database. The fields are Emp_code, Emp_name, Basic_pay,
Sorry but I make Emp_code, Emp_name, Basic_pay 3 fields not 4!!
Reply With Quote
  #5 (permalink)  
Old 07-23-06, 07:46 AM
koncept
Guest
 
Posts: n/a
moved to script requests.

on a side note, i have not seen many programs written for people who just ask for them. the community is very helpful when you try on you own first.
Reply With Quote
  #6 (permalink)  
Old 07-24-06, 02:10 AM
curbview.com's Avatar
curbview.com curbview.com is offline
Junior Code Guru
 
Join Date: May 2006
Posts: 555
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by koncept
moved to script requests.

on a side note, i have not seen many programs written for people who just ask for them. the community is very helpful when you try on you own first.

Email sent to me... Consider it a homework project.
Reply With Quote
  #7 (permalink)  
Old 07-24-06, 09:29 AM
simonbolton simonbolton is offline
New Member
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
tut tut - how about a please at least?
Reply With Quote
  #8 (permalink)  
Old 07-29-06, 12:34 AM
jac2703's Avatar
jac2703 jac2703 is offline
Newbie Coder
 
Join Date: Jan 2006
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by simonbolton
tut tut - how about a please at least?
Please... Oh. Sorry. You wasnt talking to me.

lol. It keeps me amused.
__________________
JamesCoyle.net Blog and Network tools.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP write to text file veeco Script Requests 2 02-10-10 02:48 PM
for loop to retrieve info and write approbiate line of code? benq PHP 0 05-07-06 04:45 AM
Urgent help plsssss ag201 PHP 2 10-10-05 05:22 PM
How do I write an array to a file? bark PHP 2 03-30-04 12:28 PM
passing values from one form to another -urgent aspuser25 ASP 1 09-19-03 06:41 PM


All times are GMT -5. The time now is 11:26 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.