Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Try this.
#1
Here's a challenge for you.

To write a program in pure qb(no libs, or call absolute) what would be capable of calculating together big numbers.

like: 734634786534345345723423443243265345+321476234234234234223423432434534587612873682716

The whole program should be in one function. Function's prototype should look like this:
Code:
declare function answer$(Number1$, Number2$, operation$)
'Operation$ should take either "+", "-",  "*" or "/" as input.
'Number1$, Number2$ takes numbers what will be calculated
'Answer obviously returns the answer.
to make it easier, no floating point numbers so only integer type.

You can send your works to my pm. Rating criterium is. Speed, cleannes of the code, size, comments. Understandability.

And you have one week starting tomorrow.
So deadline is 26th October 2004.
url]http://fbide.sourceforge.net/[/url]
Reply


Messages In This Thread
Try this. - by VonGodric - 10-15-2004, 03:42 PM
Try this. - by oracle - 10-16-2004, 05:27 AM
Try this. - by VonGodric - 10-16-2004, 02:31 PM
Try this. - by Z!re - 10-16-2004, 04:06 PM
Try this. - by Nexinarus - 10-17-2004, 02:01 AM
Try this. - by Neo - 10-25-2004, 12:58 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)