I'm a student, need help C# program
Write a program that the reads the data file into an array(of integers). After reading the file, the program is required to calculate and display the weekly wage for every employee. All employees are to be payed a base rate $20 per hour for the firs 40hours worked,and rate 50% more than the base rate for all hours worked greater than 40.

VulpesRank #55 · 29.2K reputationPosted Apr 12, 2013, 5:02 AM EDT
Try this:
Keyur PatelRank #1,216 · 1.5K reputationPosted Apr 12, 2013, 5:06 AM EDT
Why you want to write this logic in C#? I believe, you have database. You can keep your logic in database to avoid unnecessary looping in C#.
Please let me know if you want more help from my side.
Alex50 reputationPosted Apr 12, 2013, 5:18 AM EDT
Alex50 reputationPosted Apr 12, 2013, 5:20 AM EDT
and i have txt file....still doesn't work
VulpesRank #55 · 29.2K reputationPosted Apr 12, 2013, 5:29 AM EDT
I tested the code on this simple text file:
The output of the program was:
Alex50 reputationPosted Apr 12, 2013, 5:34 AM EDT
Alex50 reputationPosted Apr 12, 2013, 6:04 AM EDT
i don"t know how multiplay until 1000000
If the value of a house doubles in value every 8 years,write a program that will input the initial value of a house,and then determine how many years it will take until the house is worth a million dollars.
VulpesRank #55 · 29.2K reputationPosted Apr 12, 2013, 6:16 AM EDT
Alex50 reputationPosted Apr 12, 2013, 6:24 AM EDT
and code not hard....
thanx a lot.... You are very smart....:)
next Monday i have to do test in the class...
Alex50 reputationPosted Sep 19, 2013, 9:11 PM EDT
I have a problem with the method which should count payments or overtime payments.
the Method called calcWeeksPay() and need use int hours...