Thread: My VB Homework
View Single Post
02-09-2007, 12:56 AM
#3
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

Personally, I'd indent the code to make things more clear but that's a personal preference. Also, I'd have gone with a "Select Case" statement rather than lots of "if ... then ... elseif" statements -- you can always catch the division-by-zero separately.

Reply With Quote