Lista H

a guest Apr 21st, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Class Form1
  2.     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  3.         For X As Integer = 1 To CInt(txtv1.Text)
  4.             For Cont = 2 To X - 1
  5.                 If X Mod Cont <> 0 Then
  6.                     ListBox1.Items.Add(X)
  7.                 End If
  8.             Next
  9.         Next
  10.     End Sub
  11. End Class
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand