1 / 11

TRABAJO PRACTICO Nº2

TRABAJO PRACTICO Nº2. Nombre: Ignacio D. Roca. C. Ejercicio Nº 1 TP 2. numero. verdadero. numero= 0. nulo. verdadero. Numero> 0. positivo. falso. negativo. f. Ejercicio nº1 pantalla. Private Sub CommandButton1_Click() Dim número1 As Integer número1 = Val(TextBox1)

tevy
Download Presentation

TRABAJO PRACTICO Nº2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TRABAJO PRACTICO Nº2 Nombre: Ignacio D. Roca

  2. C Ejercicio Nº 1 TP 2 numero verdadero numero= 0 nulo verdadero Numero> 0 positivo falso negativo f

  3. Ejercicio nº1 pantalla

  4. Private Sub CommandButton1_Click() • Dim número1 As Integer • número1 = Val(TextBox1) • If número1 = 0 Then • Label2 = ("El número es nulo") • Else • If número1 > 0 Then • Label2 = ("El número es Positivo") • Else • Label2 = ("El número es Negativo") • End If • End If

  5. C A>0 AND B>0 AND C>0 AND D>0 A A+B+C+D B f No todos son `positivos C Ejercicio nº2 TP 2 D

  6. PANTALLA

  7. c A<0B<0 A 0<AB<0 B Ejercicio nº3 TP 2 0<A 0<B B<00<A C

  8. PANTALLA

  9. Ejercicio nº4 TP 2

  10. PANTALLA

More Related