Date: Fri, 19 Jul 2002 12:34 p.m. From: Mark Jacobson To: 810-030-01@uni.edu Subject: Base 5 to base 10 conversions assignment... Hi Visual Basic students, The assignment will be due on next Wednesday, which is July 24th. The key web page to look at and utilize as a resource and example, which you also have as a handout, is: http://www.cns.uni.edu/~jacobson/030/binary.html Your program will convert numbers from base 5 to base 10 and vice versa, from base 10 (decimal) to base 5. You can add additional features to your program, such as a listbox with additional choices in it, such as 2, 8, and 16 to add the binary, octal and hexadecimal conversions. However, that is not required. You should make the user interface look nice and you need not make your program user interface and your tools be the same as mine. As you can see in my handout, on one example, I wrote the results to a label for the base 5 number and for the base 10 number, but Printing the results to the form is very nice too, as the web page and handout also show. The key operators are \ for Integer division and Mod for Integer remainders. remainder = 19 mod 5 quotient = 19 \ 5 Print "Quotient with 19 as dividend and 5 as divisor was: " & quotient & vbCrLf & " and the remainder was: " & remainder ***** would output Quotient with 18 as dividend and 5 as divisor was: 3 and the remainder was: 4 See you on Monday in the Wright 105 classroom. Mark