Sign in to follow this  
Followers 0
the_lord_mephy

More of a scrap than a script ;)

4 posts in this topic

Heh heh, I got bored so I made a test averager.

;Test Averager
$testnum = InputBox("Enter number of tests", "Please enter the number of tests you will be averaging")
Dim $test[$testnum + 1]
$testsum = 0
For $i = 1 to $testnum
   $test[$i] = InputBox("Enter score", "Please enter the score for test " & $i)
   $testsum = $testsum + $test[$i]
Next
$average = $testsum / $testnum
MsgBox(0, "Your test average is..", $average)

My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]

Share this post


Link to post
Share on other sites



Got something against element 0?

Share this post


Link to post
Share on other sites

cool =) except i cant get the average of 10000093478235 tests! what is this! come on, jk =P


FootbaG

Share this post


Link to post
Share on other sites

I don't know =-o maybe I do :idiot:


My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]

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  
Followers 0