Jump to content

More of a scrap than a script ;)

Recommended Posts

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]
$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]
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...