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 CmdEsci Caption = "Esci" Height = 495 Left = 2760 TabIndex = 5 Top = 2280 Width = 1335 End Begin VB.CommandButton CmdCancella Caption = "Cancella" Height = 495 Left = 2760 TabIndex = 4 Top = 1440 Width = 1335 End Begin VB.CommandButton CmdRadice Caption = "Radiq" Height = 495 Left = 2760 TabIndex = 2 Top = 600 Width = 1335 End Begin VB.TextBox Textrisultato Height = 495 Left = 240 TabIndex = 1 Top = 1320 Width = 1695 End Begin VB.TextBox Textnumero Height = 495 Left = 240 TabIndex = 0 Top = 360 Width = 1695 End Begin VB.Label Label1 Caption = "Num" Height = 255 Left = 240 TabIndex = 3 Top = 120 Width = 1695 End End Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub CmdCancella_Click() Textrisultato.Text = "" Textnumero.Text = "" End Sub Private Sub CmdEsci_Click() End End Sub Private Sub CmdRadice_Click() Numero = Val(Textnumero.Text) Risultato = Sqr(Numero) Textrisultato.Text = Risultato End Sub