Advertisement
Milaj

Untitled

Mar 3rd, 2016
136
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 As Integer
  4.         a = InputBox("Введите a", "Ввод данных")
  5.         x = InputBox("Введите x", "Ввод данных")
  6.         c = InputBox("Введите c", "Ввод данных")
  7.         b = InputBox("Введите b", "Ввод данных")
  8.         y = InputBox("Введите y", "Ввод данных")
  9.         f = InputBox("Введите f", "Ввод данных")
  10.         a = a / b
  11.         x = x / y
  12.         c = c / f
  13.         If x = a And x = 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