Bag check for coins with validation [on hold]
up vote
-3
down vote
favorite
The objective of the program is to check that the weight of the bag that the user inputs and then calculate how many coins are needed to the added/removed to ensure the bag has the right amount of coins in. It needs to display the difference in weight and the number of coins to be added/removed and a total value of coins added/removed. The weights can be found within the file.
The bags for 1p and 2p add up to £1. The bags for 5p and 10p add up to £5. The bags for 20p and 50p add up to £10. The bags for 100p and 200p add up to £20. The program must:
1. Allow the user to input the volunteer's name, type of coin and weight of bag.
2. Validate the coin type.
3. indicate the number of coins to be added or removed.
4. maintain running totals of the number of bags checked and total value.
5. provide an option to display the total number of bags checked and total value.
6. monitor the accuracy of the volunteers counting the coins
7. provide an option to display a list of the volunteers, sorted by accuracy showing: the total number of bags checked, and the number of bags they counted correctly as a percentage of their total.
python validation calculator
New contributor
put on hold as off-topic by Dair, Mathias Ettinger, Mast, Gareth Rees, Pieter Witvoet 17 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Dair, Mathias Ettinger, Mast, Gareth Rees, Pieter Witvoet
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
-3
down vote
favorite
The objective of the program is to check that the weight of the bag that the user inputs and then calculate how many coins are needed to the added/removed to ensure the bag has the right amount of coins in. It needs to display the difference in weight and the number of coins to be added/removed and a total value of coins added/removed. The weights can be found within the file.
The bags for 1p and 2p add up to £1. The bags for 5p and 10p add up to £5. The bags for 20p and 50p add up to £10. The bags for 100p and 200p add up to £20. The program must:
1. Allow the user to input the volunteer's name, type of coin and weight of bag.
2. Validate the coin type.
3. indicate the number of coins to be added or removed.
4. maintain running totals of the number of bags checked and total value.
5. provide an option to display the total number of bags checked and total value.
6. monitor the accuracy of the volunteers counting the coins
7. provide an option to display a list of the volunteers, sorted by accuracy showing: the total number of bags checked, and the number of bags they counted correctly as a percentage of their total.
python validation calculator
New contributor
put on hold as off-topic by Dair, Mathias Ettinger, Mast, Gareth Rees, Pieter Witvoet 17 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Dair, Mathias Ettinger, Mast, Gareth Rees, Pieter Witvoet
If this question can be reworded to fit the rules in the help center, please edit the question.
Hi! This is Code Review, meaning we review code. Your question does not contain code and is thus off-topic.
– Mathias Ettinger
18 hours ago
"The objective of the program" Where's the program?
– Mast
18 hours ago
add a comment |
up vote
-3
down vote
favorite
up vote
-3
down vote
favorite
The objective of the program is to check that the weight of the bag that the user inputs and then calculate how many coins are needed to the added/removed to ensure the bag has the right amount of coins in. It needs to display the difference in weight and the number of coins to be added/removed and a total value of coins added/removed. The weights can be found within the file.
The bags for 1p and 2p add up to £1. The bags for 5p and 10p add up to £5. The bags for 20p and 50p add up to £10. The bags for 100p and 200p add up to £20. The program must:
1. Allow the user to input the volunteer's name, type of coin and weight of bag.
2. Validate the coin type.
3. indicate the number of coins to be added or removed.
4. maintain running totals of the number of bags checked and total value.
5. provide an option to display the total number of bags checked and total value.
6. monitor the accuracy of the volunteers counting the coins
7. provide an option to display a list of the volunteers, sorted by accuracy showing: the total number of bags checked, and the number of bags they counted correctly as a percentage of their total.
python validation calculator
New contributor
The objective of the program is to check that the weight of the bag that the user inputs and then calculate how many coins are needed to the added/removed to ensure the bag has the right amount of coins in. It needs to display the difference in weight and the number of coins to be added/removed and a total value of coins added/removed. The weights can be found within the file.
The bags for 1p and 2p add up to £1. The bags for 5p and 10p add up to £5. The bags for 20p and 50p add up to £10. The bags for 100p and 200p add up to £20. The program must:
1. Allow the user to input the volunteer's name, type of coin and weight of bag.
2. Validate the coin type.
3. indicate the number of coins to be added or removed.
4. maintain running totals of the number of bags checked and total value.
5. provide an option to display the total number of bags checked and total value.
6. monitor the accuracy of the volunteers counting the coins
7. provide an option to display a list of the volunteers, sorted by accuracy showing: the total number of bags checked, and the number of bags they counted correctly as a percentage of their total.
python validation calculator
python validation calculator
New contributor
New contributor
edited 18 hours ago
New contributor
asked 18 hours ago
Youssef El Kholy
11
11
New contributor
New contributor
put on hold as off-topic by Dair, Mathias Ettinger, Mast, Gareth Rees, Pieter Witvoet 17 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Dair, Mathias Ettinger, Mast, Gareth Rees, Pieter Witvoet
If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as off-topic by Dair, Mathias Ettinger, Mast, Gareth Rees, Pieter Witvoet 17 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Dair, Mathias Ettinger, Mast, Gareth Rees, Pieter Witvoet
If this question can be reworded to fit the rules in the help center, please edit the question.
Hi! This is Code Review, meaning we review code. Your question does not contain code and is thus off-topic.
– Mathias Ettinger
18 hours ago
"The objective of the program" Where's the program?
– Mast
18 hours ago
add a comment |
Hi! This is Code Review, meaning we review code. Your question does not contain code and is thus off-topic.
– Mathias Ettinger
18 hours ago
"The objective of the program" Where's the program?
– Mast
18 hours ago
Hi! This is Code Review, meaning we review code. Your question does not contain code and is thus off-topic.
– Mathias Ettinger
18 hours ago
Hi! This is Code Review, meaning we review code. Your question does not contain code and is thus off-topic.
– Mathias Ettinger
18 hours ago
"The objective of the program" Where's the program?
– Mast
18 hours ago
"The objective of the program" Where's the program?
– Mast
18 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Hi! This is Code Review, meaning we review code. Your question does not contain code and is thus off-topic.
– Mathias Ettinger
18 hours ago
"The objective of the program" Where's the program?
– Mast
18 hours ago