Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Module SumSquareDif 'My solution to Project Euler Problem 6
- Sub Main()
- Dim Sum, Square As Integer
- For i = 1 To 100
- Sum += i ^ 2
- Square += i
- Next
- Console.WriteLine((Square ^ 2) - Sum)
- End Sub
- End Module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement