Mini coding task
- or -
Post a project like this2673
£150(approx. $188)
- Posted:
- Proposals: 2
- Remote
- #1392702
- Awarded
Description
Experience Level: Intermediate
I need the following scenario coded in VB6.
BASIC TASK - Counting money system for coins.
Money needs to be put into bags ready to be paid into the bank. The bags are labelled to show how much of each type of coin should be put into each bag. Bags can't have mixed coins. A quick way is needed to check the contents of each bag. The bags will have to be weighed to see if they contain the correct number of coins.
The weight of each coin is shown below. Coin Weight in grams
1 pence (3.56)
2 pence (7.12)
5 pence (3.25)
10 pence (6.50)
20 pence (5.00)
50 pence (8.00)
£1 (9.50)
£2 (12.00)
The task is to write an application that will:
1) Input the weight of a bag of coins
2) Input the type of coin
3) Calculate how much the weight is different from the correct weight
4) For each bag;
o Display the difference in weight
o Display number of coins to be added or removed
5) When all the bags have been checked;
o Display total number of bags checked
o Display total value of the coins added
o Display total value of the coins removed
Please include comments to explain the code. Validation should also be included to minimize data entry errors. Forms can be left in basic format.
BASIC TASK - Counting money system for coins.
Money needs to be put into bags ready to be paid into the bank. The bags are labelled to show how much of each type of coin should be put into each bag. Bags can't have mixed coins. A quick way is needed to check the contents of each bag. The bags will have to be weighed to see if they contain the correct number of coins.
The weight of each coin is shown below. Coin Weight in grams
1 pence (3.56)
2 pence (7.12)
5 pence (3.25)
10 pence (6.50)
20 pence (5.00)
50 pence (8.00)
£1 (9.50)
£2 (12.00)
The task is to write an application that will:
1) Input the weight of a bag of coins
2) Input the type of coin
3) Calculate how much the weight is different from the correct weight
4) For each bag;
o Display the difference in weight
o Display number of coins to be added or removed
5) When all the bags have been checked;
o Display total number of bags checked
o Display total value of the coins added
o Display total value of the coins removed
Please include comments to explain the code. Validation should also be included to minimize data entry errors. Forms can be left in basic format.
Eirlys J.
100% (2)Projects Completed
1
Freelancers worked with
2
Projects awarded
100%
Last project
7 Apr 2017
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hi Eirlys,
Are you ready for GUI based application ?
Thanks
Sumit
SaS Technologies
262299
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies