d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Need Some Vb Homework Assignment Assistances > Willing To Pay
Add Reply New Topic New Poll
Member
Posts: 13,685
Joined: Mar 15 2008
Gold: 0.00
Sep 29 2015 03:03pm
Hey guys i'm willing to pay fg for a little help, i've got 2 assignment I need to get done and have pretty much 0 knowledge on here. I can provide with challenges and the book if needed and it's pretty quick!

Design Your Own Forms
6. Bank Charges
A bank charges $10 per month, plus the following check fees for a commercial
checking account:
$0.10 each for less than 20 checks
$0.08 each for 20 through 39 checks
$0.06 each for 40 through 59 checks
$0.04 each for 60 or more checks
Create an application that allows the user to enter the number of checks written.
The application should compute and display the bank’s service fees for the month.
All checks for the month are assigned the same charge, based on the total number of
checks written during the month.

Input validation: Do not accept a negative value for the number of checks written.
Ensure that all values are numeric. The Clear button must clear the text box and the
label that displays the monthly service charge.
Use the following test data to determine if the application is calculating properly. In
each case, the customer is charged only a single rate, based on the total number of
checks:
Number of Checks Total Fees
15 $ 11.50
25 $ 12.00
45 $ 12.70
75 $ 13.00

------------------------------------------------------------------------------------------------------------------------------------

Design Your Own Forms
8. Celsius to Fahrenheit Table
In Programming Challenge 8 of Chapter 3, you created an application that converts
Celsius temperatures to Fahrenheit. Recall that the formula for performing this conversion
is
F  1.8 * C  32
In the formula, F is the Fahrenheit temperature and C is the Celsius temperature.
For this exercise, create an application that displays a table of the Celsius temperatures
0 through 20 and their Fahrenheit equivalents. The application should use a
loop to display the temperatures in a list box.


or if you want to walk me through too that's be great! Teach me a little haha.

basically it's not just the summary I have to write script and create the visual application as well.
Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Sep 29 2015 03:43pm
What class is this for? Seems strange your teacher would just all of a sudden assign VB homework without appropriate lessons. At least, I assume that is what happened since you have homework for a subject you have "0 knowledge on."
Member
Posts: 13,685
Joined: Mar 15 2008
Gold: 0.00
Sep 29 2015 04:06pm
This is for CIS159 visual Basics, It's an online course without the teacher teaching anything, it's all done in the book and teaching must be upon our self by reading and testing our own coding. I'm not an online class person but it fit the schedule and one of my last classes needed to get my degree.

The only thing we have to help us is code from other projects similar (no not even) to what we're doing, provided by the book.

This post was edited by Dragon0slaye on Sep 29 2015 04:14pm
Member
Posts: 2,757
Joined: Nov 26 2007
Gold: 1,214.81
Sep 30 2015 07:30am
for the first one

Code
Public Class Form1
Private Sub checkCountField_TextChanged(sender As System.Object, e As System.EventArgs) Handles checkCountField.TextChanged
calculateTotal()
End Sub
Private Sub calculateTotal()
Dim checkCount As Integer
Dim totalCost As Double
totalCost = 10
If (Integer.TryParse(checkCountField.Text(), checkCount)) Then
If (checkCount > 0) Then
If (checkCount < 20) Then
totalCost += checkCount * 0.1
ElseIf (checkCount < 40) Then
totalCost += checkCount * 0.08
ElseIf (checkCount < 59) Then
totalCost += checkCount * 0.06
Else
totalCost += checkCount * 0.04
End If

End If
totalLabel.Text = totalCost.ToString("C2")
Else
totalLabel.Text = "Invalid count"
End If
End Sub
Private Sub resetButton_Click(sender As System.Object, e As System.EventArgs) Handles resetButton.Click
checkCountField.Text = 0
calculateTotal()
End Sub
End Class


This post was edited by labatymo on Sep 30 2015 07:31am
Member
Posts: 13,685
Joined: Mar 15 2008
Gold: 0.00
Oct 6 2015 11:58pm
i got it guys! thanks
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll