User Profile

Collapse

Profile Sidebar

Collapse
dmathews
dmathews
Last Activity: Feb 3 '08, 09:21 PM
Joined: Jan 17 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dmathews
    replied to Calculations
    Can you give me a detailed suggestion on how I should set up my calculation button to show the answers in the denominations of 20's, 10's, 5's, 1's and currency change? This is what I have so far, I'm unsure how to set it up.

    Private Sub CalculateButton _Click(ByVal sender As System.Object, ByVal e As System.EventArg s) Handles CalculateButton .Click
    'Calculate a total.
    changeDue = (TotalTenderedT extBox.Text...
    See more | Go to post

    Leave a comment:


  • dmathews
    replied to Calculations
    In lines 32 thru 46 I should be able to enter a dollar amount into the amount of total sales text box and have it subtracted from the total tendered text box and the value of the difference should be able to go to the change due text box. It doesn't work. Also, I am not sure that my calculation button is in the proper place or is it coded sufficiently to make the calculations work.

    Can you help?

    thanks,
    See more | Go to post

    Leave a comment:


  • dmathews
    replied to Calculations
    This is what I have coded so far, any help you can give will be much appreciated.
    Thanks


    [CODE=vbnet]Public Class Form1
    'Project: McDonald's Register

    ' Description: This project is to make change for transactions in the proper monetary denominations.
    Dim x As Decimal
    'Declare variables
    Dim amtOfsale As Decimal
    Dim totalTendered As Decimal...
    See more | Go to post
    Last edited by Killer42; Jan 22 '08, 02:03 AM. Reason: Added CODE=vbnet tag

    Leave a comment:


  • dmathews
    started a topic Calculations

    Calculations

    Hi,

    I'm a student and new to the world of programming in Visual Basic. Can someone be so kind to assist me on setting up a program to simulate a cash register where change will be given in denominations? Or is there one out there somewhere I can use as a guide?

    Your help is greatly appreciated.

    thank you,
    See more | Go to post
No activity results to display
Show More
Working...