# Creating a random equation

**URL:** <https://forum.kirupa.com/t/creating-a-random-equation/295389>\
**Category:** Uncategorized\
**Created:** [August 29, 2009, 1:41am UTC](https://forum.kirupa.com/t/creating-a-random-equation/295389 "2009-08-29T01:41:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arelle](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Arelle](https://forum.kirupa.com/u/Arelle)\
**Post date:** [August 29, 2009, 1:41am UTC](https://forum.kirupa.com/t/creating-a-random-equation/295389/1 "2009-08-29T01:41:51Z")

</div>

im having a bit of difficulty on this one…

how would you go about creating a random equation? i would like to randomly generate two individual numbers, a random operator (out of +, -, \*, /) between these numbers and then the user would input a number to answer the equation… any thoughts on this?
