Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Banking with Threads

 
Urs Waefler
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I must solve the following task: There are 2 persons in a bank. 1 Person puts the amount x to an account, the other person withdraws the same amount at the same time from the same account. This is my code so far:



It must be improved. In general it seems to go in the right direction, nevertheless it is not good. Who can help me?
 
No matter how many women are assigned to the project, a pregnancy takes nine months. Much longer than this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!