• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need Help For Java Thread Program  RSS feed

 
Will Zelan
Ranch Hand
Posts: 56
Flex Python Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone help for writing the below thread Program
Question:-A bank account is operated by a father and his son. the account is opened with an initial deposit of Rs. 600. Thereafter, the father deposits a random amount between Rs. 1 and Rs. 200 each time, until the account balance crosses Rs. 2000.the son can start withdraws random amount only if the balance exceeds Rs. 2000.thereafter,the son withdraws random amount between Rs 1 and Rs. 150, until the balance goes below Rs. 500. Once the balances becomes less than Rs. 500, the father deposits amount till it crosses Rs. 2,000 and the process continues. Write a Father Deposits amount till it crosses Rs. 2000 and the process continues. write a father and son thread to carry out the above process.
 
Mansukhdeep Thind
Ranch Hand
Posts: 1163
Eclipse IDE Firefox Browser Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to see you finish the Prime Numbers and the Fibonacci series code first. Then we can move on to this one. Patience.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!