VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



One up to ONE MILLION

by Eddie Bole (104 Submissions)
Category: Math/Dates
Compatability: VB 6.0
Difficulty: Beginner
Originally Published: Wed 4th October 2017
Date Added: Tue 9th February 2021
Rating: (1 Votes)

Example of an algorithm that adds up integer numbers consecutively. Really shows how maths rules can speed things up. If you were to add 1 + 2 = 3 and then add this answer to the next number (+3) all the way to 1000000 in a loop, this would take considerably longer. In my example you can change the end number to what ever integer you like. I did some number key code checking. Enjoy.

Rate One up to ONE MILLION

Download One up to ONE MILLION

Download One up to ONE MILLION (43 KB)

One up to ONE MILLION Comments

No comments have been posted about One up to ONE MILLION. Why not be the first to post a comment about One up to ONE MILLION.

Post your comment

Subject:
Message:
0/1000 characters