Jump to content

how to make a budget system


juicepotion

Recommended Posts

I would like to make a budget system where the user enter their preferred budget,

then the system will generate a package based on the budget enter, system will generate the budget package based on the database.

 

For example, i have 4 categories - flower, cake, hotel & bridal house

 

user enter budget of $100, system will then check through the database,

come out with a package which include each of the categories above.

 

output should be

 

flower:30

cake:20

hotel:30

bridal house:20

 

how should i do that?

what math should i use?

probability?

 

Link to comment
Share on other sites

i mean i want the output to be like this:

 

**taken from database

flower: $30

cake: $20

hotel: $30

bridal house:$20

 

meaning user enter $100,

system can come out the package that total not more then $100.

 

you got what i mean?

 

how can i come out such result?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.