Advertisement
Milaj

Untitled

Mar 3rd, 2016
78
0
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.         Dim a, x, c, b, y, f, d, g As Integer
  4.         a = TextBox1.Text
  5.         c = TextBox5.Text
  6.         b = TextBox3.Text
  7.         f = TextBox6.Text
  8.         d = TextBox10.Text
  9.         g = TextBox8.Text
  10.         a = a / d
  11.         b = b / g
  12.         c = c / f
  13.         If a = b And b = c And c = a Then
  14.             MsgBox("Система имеет бесконечное к-во решений")
  15.         Else
  16.             MsgBox("Система НЕ имеет бесконечное к-во решений")
  17.         End If
  18.     End Sub
  19. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement