VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3090
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3090
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   495
      Left            =   1080
      TabIndex        =   0
      Top             =   1920
      Width           =   1575
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim x, b, c As Integer
Dim z As Single
x = InputBox("x")
b = InputBox("b")
c = InputBox("c")
If x < 2 Then z = Sqr(2 * x * x + b) + Log(c)
If (x >= 2) And (x <= 4) Then z = c + Sqr(x + b)
If x > 4 Then z = Sqr(2 * x * x + c + b)
Print Str(y)
End Sub
