Jump to content
Sign in to follow this  
killerkids

I need help

Recommended Posts

killerkids

I need help on making a simple program.

I need to know how to make it divide any number you put in by 15 and then add it by 171103

So for example, any number like 15255, then it divides it by 15 plus 171103, then it gives me my answer.

Sorry, for the noob question.

Thanks!

Share this post


Link to post
Share on other sites
hearurscream

Search the help file for InputBox, your basic math operators, and MsgBox as well.


Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.

Share this post


Link to post
Share on other sites
Generator

MsgBox(64,"Result",InputBox("Enter a number","This number will be divided by 15 and plus 171103","") /15 + 171103)

Share this post


Link to post
Share on other sites
hearurscream

Touche :P


Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×