# Can you help me create this ATM simulator app?

**URL:** <https://community.thunkable.com/t/can-you-help-me-create-this-atm-simulator-app/2601214>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, project\
**Created:** [September 18, 2023, 11:07am UTC](https://community.thunkable.com/t/can-you-help-me-create-this-atm-simulator-app/2601214 "2023-09-18T11:07:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![yihao\_wp0bze](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@yihao\_wp0bze](https://community.thunkable.com/u/yihao_wp0bze)\
**Post date:** [September 18, 2023, 11:07am UTC](https://community.thunkable.com/t/can-you-help-me-create-this-atm-simulator-app/2601214/1 "2023-09-18T11:07:55Z")

</div>

I want to make a ATM project but face some problems.  
When I type 1 and keep clicking on the Deposit Button, it should be 1,2,3… But the result is 1,3,7,15… Where did the problem come from?

This is my codes:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/4/b442875d631467aee02c6d33d5ec2c2323260125.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/2/92f25d6ae00f403025ecbd1f773628d31d0b1f6e.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/f/5fb4905551865d564fe2befe922f12ee4d463666.png)

Do you know how to solve the problem?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 18, 2023, 2:03pm UTC](https://community.thunkable.com/t/can-you-help-me-create-this-atm-simulator-app/2601214/2 "2023-09-18T14:03:19Z")

</div>

The problem is that you are using a “change by” block when you should be using a “set” block.

“Change by” means add this to the existing amount. So you are adding 1+1 to 1 to get 3. Then adding 3+1 to 3 to get 7, etc.

Another option is to change by only app variable deposit.

---

<div class="post-metadata">

**Author:** ![yihao\_wp0bze](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@yihao\_wp0bze](https://community.thunkable.com/u/yihao_wp0bze)\
**Post date:** [September 19, 2023, 11:58am UTC](https://community.thunkable.com/t/can-you-help-me-create-this-atm-simulator-app/2601214/3 "2023-09-19T11:58:29Z")

</div>

I have changed the codes but there is still the problems:  
the answer should be 1,2,3……but it shows 1,3,5……  
I was confused about it.（；´д｀）ゞ

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/4/e45c0424a234e267068f4aa8143cd61bdc9b8b53.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/b/ab8f2c18a30585ea195eb4734ce626b386343c92.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/0/409e984a984ae6d700c17ed928fc487f6f326684.png)

---

<div class="post-metadata">

**Author:** ![yihao\_wp0bze](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@yihao\_wp0bze](https://community.thunkable.com/u/yihao_wp0bze)\
**Post date:** [September 19, 2023, 12:14pm UTC](https://community.thunkable.com/t/can-you-help-me-create-this-atm-simulator-app/2601214/4 "2023-09-19T12:14:28Z")

</div>

It so strange that everything is right now but I even didn’t change any codes. The result is 1,2,3……while it was wrong just 10 minutes ago.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/3/33bc3139355a045a87cfbc720406b33aae849bd3.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/c/8c2576f2683c184d91884824be11f2d291259f8d.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/6/f66c271bde2944548df469c70de17e6a413d736e.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 19, 2023, 2:23pm UTC](https://community.thunkable.com/t/can-you-help-me-create-this-atm-simulator-app/2601214/5 "2023-09-19T14:23:40Z")

</div>

If you are testing on a device, the Thunkable Live app doesn’t always show the current version of the project. If you are testing a web preview, then I can’t explain why it wouldn’t have worked the first time.

---

<div class="post-metadata">

**Author:** ![yihao\_wp0bze](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@yihao\_wp0bze](https://community.thunkable.com/u/yihao_wp0bze)\
**Post date:** [September 21, 2023, 3:05pm UTC](https://community.thunkable.com/t/can-you-help-me-create-this-atm-simulator-app/2601214/6 "2023-09-21T15:05:53Z")

</div>

OK,thanks for your sincerely help(●’◡’●)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [December 20, 2023, 3:06pm UTC](https://community.thunkable.com/t/can-you-help-me-create-this-atm-simulator-app/2601214/7 "2023-12-20T15:06:23Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
