What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Advanced VB coders

Advanced VB coders
Author: Message:
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. Grin  Advanced VB coders
I'm making a program that will answer these types of equations and show all the steps (all the work) like this:

5-3(3x4) ^2
= 5-3x12^2
=5-3x144
=2x144
=288

(That’s probably wrong just did it fast for an example)


Now I can get it to just answer 5-3(3x4) ^2 and it would give me the straight answer but what I want is the answer and all the middle stuff like this:
= 5-3x12^2
=5-3x144
=2x144
=288


Now I know I have to fallow BEDMAS, which is the order of:

Brackets
Exponents
Division
Multiplication
Addition
Subtraction

So how would I go about searching through the equation for BEDMAS and answer each one in order then go to the next?

Any suggestions or help is greatly appreciated


Thanks!:D
[Image: top.gif]
09-23-2004 02:19 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Advanced VB coders - by DJeX on 09-23-2004 at 02:19 AM
RE: Advanced VB coders - by aptiva on 09-23-2004 at 02:37 AM
RE: Advanced VB coders - by PiP on 09-23-2004 at 07:08 AM
RE: Advanced VB coders - by CookieRevised on 09-23-2004 at 08:56 AM
RE: Advanced VB coders - by DJeX on 09-23-2004 at 08:29 PM
RE: Advanced VB coders - by CookieRevised on 09-24-2004 at 06:40 AM
RE: Advanced VB coders - by DJeX on 09-24-2004 at 08:43 PM
RE: Advanced VB coders - by dotNorma on 09-24-2004 at 10:54 PM
RE: Advanced VB coders - by DJeX on 09-25-2004 at 12:22 AM
RE: Advanced VB coders - by CookieRevised on 09-25-2004 at 03:10 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On