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.










share|improve this question









New contributor




Youssef El Kholy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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















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.










share|improve this question









New contributor




Youssef El Kholy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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













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.










share|improve this question









New contributor




Youssef El Kholy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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






share|improve this question









New contributor




Youssef El Kholy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Youssef El Kholy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 18 hours ago





















New contributor




Youssef El Kholy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 18 hours ago









Youssef El Kholy

11




11




New contributor




Youssef El Kholy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Youssef El Kholy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Youssef El Kholy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




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


















  • 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















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Morgemoulin

Scott Moir

Souastre