A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
Find the largest palindrome made from the product of two 3-digit numbers.
Function Prob004() As Integer
For k As Integer = 100 To 999
For f As Integer = 100 To 999
Dim intResult As Integer = k * f
Dim strResult As String = intResult.ToString
If strResult = StrReverse(strResult) AndAlso intResult > Prob004 Then
Prob004 = intResult
This one was pretty quick and fun.