|
-
Mar 11th, 2010, 03:12 PM
#1
Thread Starter
New Member
Arithmetic Operations?
I'm currently in Logic, Design, and Programming at college and we have homework over Arithmetic Operations.
For example:
100 ^ 2 - (((43 \ 2) + 17) Mod 5 - 7.4) * 3 = 10,013.2
I need to solve it, we can use VB Express 9 to get the answer but we need to show the work. I've done fine up until the question. We have a test tomorrow and we are have 30/100 points just over math equations where we aren't allowed any use of the PC or calculator and I'm stuck on how to break this down.
Like this problem I managed fine.
443 \ 4 * 5 \ 1.25 * 4 \ 12 / 4
- 443 \ 20 \ 1.25 * 4 \ 12 / 4
- 443 \ 20 \ 5 \ 12 / 4
- 443 \ 20 \ 5 \ 3
- 22 \ 5 \ 3
- 4 \ 3
- 1
OR
( 55.7 - 3.7) Mod ( 75 \ 22 + 4 ) ^ 2 + 5
- 52 Mod ( 3 + 4 ) ^ 2 + 5
- 52 Mod 7 ^ 2 + 5
- 52 Mod 49 + 5
- 3 + 5
- 8
My teacher said there is a way to show a debug window and it breaks down the process showing the way VB handles Arithmetic Operations. I can not for the life of my figure this out, I'd even like to write some code to do it for me but the last time I coded was in VB 6 and well, .net has changed everything.
Help would be GREATLY appreciated!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|