Create Pay Calculator Where Would Enter Total Minutes Worked And Hourly Pay Rate
Mar 27, 2009
I have this homework assignment where we have to create a pay calculator where you would enter the total minutes worked and the hourly pay rate. and then i have to create the code to show what the total weekly pay would be. I have to display the Hours Worked: and the Leftover minutes: I also know that the formula to calculate the weekly pay is totalMinutesWorked / 60 = hoursWorked and i have to use the Mod operator. [code]
View 2 Replies
ADVERTISEMENT
Mar 16, 2011
I am trying to build a program that calculates the minutes worked times pay rate equals amount of weekly pay this is what I got but it doesn't calculate
CODE:
View 3 Replies
Jun 11, 2009
Does anybody know what site has independant ASP.Net consultants that are for hire on an hourly rate and can communicate via the internet? I only need this consultant for a couple hours. I cannot recall the site that I used previously where I would ask questions for a price and get the solutions.
View 2 Replies
May 7, 2009
i am trying to indicate if the tax is at single rate (18%) or the family rate of (15%)This is what i got so far i could do the rest but just cant do the Mstatus part.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Name As String 'Name of employee
Dim hrWage As Double 'Hourly wage
Dim hrsWorked As Double'Hours worked this week
[code]....
View 1 Replies
Oct 6, 2010
The pay rates for the project are:
a. Level 1 - $10.00
b. Level 2 - $12.00
c. Level 3 - $14.00
d. Level 4 - $16.00
e. Benefit Deduction Rate - 0.10
f. Overtime Factor - 1.5
For ease of program maintenance, all of the above rates and factors must be stored in module level constants. All references to pay rates in the program must refer to the module level constants.
When the Calculate button is clicked:
a. The value in the Hours text box must be validated to insure that it is numeric value greater than zero.
1. If the value is not valid, a message box must appear as shown below and the user must be offered the option to continue processing or quit the program.
2. If the user chooses to continue processing, the focus must be set to the Hours text box.
3. If the user chooses to quit, the program must close immediately.
b. If the value is valid, the program must calculate and display the total pay in the Total Pay label.
1. The pay rate is determined by which Job Grade radio button is checked.
2. For hours less than or equal to 40, the total pay is the hours times the pay rate.
3. For hours greater than 40, the total pay is 40 hours times the pay rate plus the hours in excess of 40 hours times the pay rate times the Overtime Factor.
4. If the Full Time radio button is selected, the total pay must be reduced by the Benefit Deduction Rate.
5. The value displayed in the Total Pay label must be formatted with a dollar sign and with two decimal
places.
6. The focus must be set to the Hours text box.
Why i get an error when i try to run this code
Code:
Also the message box, both yes and no close the program.....
View 10 Replies
Oct 25, 2011
I need to get shipping rates from USPS. I have signed up with them, got myself a user id and trying to use the sample request XML as shown on page
<Error>
<Number>80040b1a</Number>
<Description>API Authorization failure. RateV4 is not a valid API name for this protocol.
[code].....
View 1 Replies
Mar 11, 2011
Im creating an interest rate calculator that will make sure the principal is a positive amount, retrieve the interest rate from the interest rate:numericupDown function and will leave a message in the resulttextbox.This is what i have so far:
Public Class InterestCalculatorForm
' handles Calculate Button's Click event
Private Sub calculateButton_Click(ByVal sender As System.Object, _
[code].....
View 3 Replies
Feb 23, 2009
I'm using FedEx for my shipment and use the FedEx rate calculator to find the shipping cost. When I send the request and get back the response, I always find that there is no discount applied even if i send a quantity of 100. following questions so that i can get clear with how to work with the fedex webservice
1. If i want to send 2 quantities of a product. will i be constructing the request with a package count as 2 and repeating the same <requestedpackage> twice ?
[Code]...
View 2 Replies
Dec 9, 2010
I am working on a calculator that does the annual percentage rate. The code has to use a For Loop (which I am new to). This is the code I have so far.
[Code]...
View 9 Replies
Sep 30, 2009
You need to design and create a program that accepts input of employee name, employee type, and the number of hours worked each week for two weeks.
You must be able to select an employee type. An employee of type Trainee makes $10 per hour. An employee of type Regular makes $15 per hour. An employee of type Manager makes $20 per hour.
The program should calculate the employee pay for the week. The employee should receive 1 times the regular pay for any hours worked over the prescribed 40 hours in a week. The program should output the following information:
-The employees name without trailing or leading spaces
-Regular hours worked
-Regular pay
-Overtime hours worked
-Overtime pay
-Total pay
The Problem that i am having right now is "Displaying " the overtime hours on my "FORM VIEW" i mean i did the math right its just when i type (lblOverHrs.Text = CDec(CDec(OvrHrsWrkWeek1.Text) + CDec(txtOvrHrsWrkWeek2.Text))
Its says the "OvrHrsWrkWeek1 and 2" are not Declared which are..im not really sure where i went wrong..
Heres my code
CODE:
View 4 Replies
Oct 8, 2008
How to get the total minutes in an hour?
Example:
1 Hour and 20 Minutes.
I need to get the result at 80 Minutes.
View 11 Replies
Nov 9, 2010
I get a return value from a web service in minutes, for example 538 minutes. I need to break this down in hours and minutes. What is the fastest way, in .net code and also VB6 code (two apps use the service) to convert this from minutes to HH:mm?
View 6 Replies
Mar 30, 2009
I need to find the total of all payments at the end of the loan period.example, Mr. X borrows $100,000 for 15 years at the rate of 10%. The total of all payments is supposed to be $193,428.92.
View 2 Replies
Mar 5, 2011
Here is the code. The only problem I am having is getting the total miles to display. How do I get my listbox to show my total miles broken down to hour1 xx miles. I can get it to show the total miles per total hours driven.
Option Strict On
Public Class frmDistanceTraveled
Private Sub btnCalculateDistance_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculateDistance.Click
' The btnCalculateDistance event hadler calculates the distance
' traveled
[Code] .....
View 1 Replies
Aug 23, 2011
upgrade my DAO code to ADO? The following code worked fine in VB.Net for Interop Access 2007.
View 1 Replies
Aug 19, 2009
how to calculate rate for 3 days in different rate like public holiday,weekend and normal for 1 room
View 2 Replies
Mar 25, 2012
How can I speed up a process? I see I should use timegettime, gettickcount, and queryperformance counter, but I have no clue where to start.
I guess you can call it Frame Rate or Refresh Rate of a process?
View 1 Replies
Jun 24, 2009
Are u able to take a look at this code and see how can I create a loop on timer1 to control the rate of timer 2... Coz this is the code that my lecturer had amended..
[code]...
View 18 Replies
Oct 29, 2009
The hotel has 8 floors and 30 rooms on each floor. Create an application that calculates the occupancy rate for each floor, and the overall occupancy rate for the hotel. The occupancy rate is the percentage of rooms occupied, and may be calculated by dividing the number of rooms occupied by the number of rooms.When the user clicks the "Complete Report" button, a loop should execute and iterate 8 times. Each time the loop iterates, it should display an input box for one of the hotel's floors. The input box should ask the user to enter the number of rooms occupied on that floor. As the user enters a value for each floor, the loop should calculate the occupancy rate for that floor, and display the information for that floor in the list box. When the number of occupied rooms has been entered for all the floors, the application should display the total number of rooms occupied and the overall occupnacy rate of the hotel.I have some of the code but I'm not sure which way to go now!
[Code]...
View 14 Replies
Jul 6, 2011
The program is a hotel occupancy form The Hotel has eight floors and 30 rooms oneach floor. I'm supposed to create aapplication that calculates the occupancy rate for the hotel. Theoccupancy rate is the percentage of rooms occupied, and may becalculated by dividing the number of rooms occupied by the number ofrooms. For example, if 18 rooms on the first floor are occupied, the occupancyrate is: 18/30 = .6 or 60%. The form has two out labels called totalrooms occupied and overall occupancy rate that holds two output text boxes todisplay the numbers
its only three buttons Calculate report,close, and exit Its obvious what the exit buttons issupposed to do the clear button should clear all the controls on the floor
Now the complete report button is supposedto loop and iterate eight times. Each time the loop iterates, it should displaya input box for one of the hotel floor. The input box should ask the user asksthe user the user to enter the number of rooms occupied on each floor. As theuser enters a value for each floor, the loop should calculate the occupancyrate for that floor and display the information for that floor in a list box.When the number of occupied rooms has been entered for all floors theapplication should display total number of rooms occupied an overall occupancyrate for the hotel. (the hotel has a total of 240 rooms total)
[code]...
View 6 Replies
Jan 26, 2011
I've created txt file on vb. I need time function that every 30 minutes create file and filename will be date and time that file was created.
View 4 Replies
Oct 21, 2010
I have three sets of labels, lbl_seconds, lbl_minutes and lbl_hours. These labels have the default value of 00:00 and I want the timer to change that for each label. I have googled this but I cannot seem to find any good info on it. Do I need three separate timers? I have also noticed that the timers have their own tick event handler. I guess it's in this that I need to change the value of the label. But I cannot figure out how to do just that.
View 2 Replies
Feb 1, 2010
I have written a simple program which receive data from serial port i.e (temperature) and display on a line graph. but i require accumlate the graph data upto 10 minutes on screen. after that it again accumlate next 10 minutes data.[code]....
View 1 Replies
Jun 7, 2010
How do I code the total cost to give me a pound sign with the total cost at the moment when the total comes up for an example it gives me 3.6 when I need it to show £3.60 here is the code I have so far. [code]
View 2 Replies
May 25, 2010
im supposed to create a mortage calculator but my teacher gave us no hints as to what we had to do so could someone explain wat its supposed to do in a nut shell
View 3 Replies
Oct 11, 2011
how to create calculator in vb.prashant
View 3 Replies
Mar 11, 2012
I have an I/O device with 8 channels. I want to create a timer control for each channel with combo boxes for days, hours, minutes and radiobuttons for AM or PM. This is a crude (and not working) example of what I need:[code]
View 1 Replies
Jan 24, 2010
ive got to create a BMI calculator using metric units, when i enter my data, it doesnt work (i put in 1.5m and 90kg but the answer comes out at 3, and in clearly not anorexic heres what ive got at the moment
Dim BMIResults As New frmBMIResults
Dim Answer As Integer
Dim BMIAnswer As Integer
Answer = CType(tbHeight.Text, Integer) * 2
BMIAnswer = CType(tbWeight.Text, Integer) Mod Answer
'BMIResults.Show()
'Me.Hide()
View 3 Replies
Nov 30, 2010
i had to create a hash calculator using vb2008?
View 2 Replies
Mar 29, 2011
I want to create a simple calculator using only 1 textbox , 1 button and 1 label, but I don't know how to create the code.
for example if i write : 53+35-33=
and if i press the button it will calculate and the answer the label will show the answer (55).
View 3 Replies