Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

Visual logic help!

  • Please log in to reply



    New Member

  • Member
  • Pip
  • 1 posts
Create a VisualLogic program (named LargeProgram01.vls) that will help a clerk in a store make change.
The program will:
1. Ask the user (the clerk) the amount of the sale.
. 2. Ask the user (the clerk) how much money the customer has given him.
3. The program will then tell the user (the clerk) how many:
- $20 bills
- $10 bills
- $5 bills
- $1 bills
- Quarters
- Dimes
. - and Pennies
. should be given to the customer for change.
For example, if the amount of the sale is $7.33 and the customer pays for it with a $20 bill, then the program should tell the clerk to give the customer:
- 0 $20 bills
- 1 $10 bills
- 0 $5 bills
- 2 $1 bills
- 2 Quarters
. - 1 Dimes
- 1 Nickels
- 2 Pennies
for a total of $12.67 in change.
  • 0





  • Member
  • PipPipPipPip
  • 1,355 posts
Hey there Visuallag,

Have you attempted the project yourself? I doubt anyone will write it out for you... I recommend you attempting it yourself first and then posting out an errors you may have come across or if you don't understand.

Especially if this is some form of college work , I highly recommend you try it out for yourself first or you may battle in future projects that get more difficult.

Peace Out :)
  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP