By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,367 Members | 1,647 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,367 IT Pros & Developers. It's quick & easy.

do help me.. gimme the program for following.......

P: 1
Q. units of electricity consumed charge
<100 .40
<300 .45
<600 .75
<1000 1.00

charge for electric meter ...Rs. 40
surcharge if unit>200 is 7.5% of the amount exceeding 200

and i have 2 use seperate functions for declaration and calculation

output should be................in this format.........

name units charge
xyz aaa yyy
Nov 15 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.