Instead of using int (integer) I have started to use val (value) as it automatically creates memory for complex numbers in case a decimal or other extended math is used.
I know that in the old days, conserving memory was important and many programmers still code that way and YES it is still important but when speed is not an issue in small programs, IMHO, val is a good cover all, just in case.
Look through these sites for your homework needs, you still have to do the research, dont forget to take a Research class when you get to college.
Visual Basic Explorer - VB Forums - Message Board - ezboard.com The Code Project - Free Source Code and Tutorials
Dont copy, do your own work, tailor it to something simple when you locate a good sample.