Guest User

Untitled

a guest
Jul 12th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.36 KB | None | 0 0
  1. Module Module1
  2.     Sub Main()
  3.         Dim d1, d2 As Double
  4.         d1 = 14 Mod 7
  5.         d2 = 6 Mod 7
  6.  
  7.         Console.WriteLine("d1 = " & d1 & ", d2 = " & d2)
  8.  
  9.         If (d1 = 0 And d2 = 0) Then
  10.             Console.WriteLine("True")
  11.         Else
  12.             Console.WriteLine("False")
  13.         End If
  14.  
  15.         Console.ReadLine()
  16.     End Sub
  17. End Module
Add Comment
Please, Sign In to add comment