Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Visual Basic

1.486 Aufrufe

Veröffentlicht am

Veröffentlicht in: Technologie, Lifestyle
  • (Unlimited)....ACCESS WEBSITE Over for All Ebooks ................ accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M }
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • Gehören Sie zu den Ersten, denen das gefällt!

Visual Basic

  1. 1. Es. 49 pag. 301 Lorenzo Tofanari Dati N studenti partecipanti a una gara sportiva di velocità (nome studente, categoria, tempo) visualizzare il tempo dello studente vincitore (tempo minimo) tra gli studenti della categoria “Allievi”. Dati input: Numero studenti, nome studente, categoria, tempo Dati output: Tempo minimo, nome vincitore
  2. 2. Descrizioni variabili L Num. Caontatore allievi Conta L Num. Contatore alunni Cont O Alf. Nome vincitore Nomem O Num. Tempo minimo Tempm I Num. Tempo Temp. I Alf. Categoria Cat. I Alf. Nome studenti Nome I Num. Numero studenti N I/O/L Tipo Contenuto Variabile
  3. 3. Inizio Leggi (N) Conta = 0 Cont = 0 Ripeti Leggi (NOME, CAT., TEMP) Cont = Cont + 1 Se CAT. = “Allievi” Conta = Conta + 1 Se Conta = 1 Allora Tempm = Temp Nomem = Nome Altrimenti Se Temp < Tempm allora Tempm = Temp Nomem = Nome Fine Se Fine Se Fine Se Fino a che Cont = N Scrivi (Tempm, Nomem) Fine Pseudocodice
  4. 4. In Visual Basic…
  5. 5. Inizio N Cont=0; Conta=0 Cont=Cont+1 Temp, Cat, Nome Cat=“Allievi ” Conta=Conta+1 Conta=1 Temp<tempm Tempm=temp Nomem=nome Cont=N Tempm, Nomem Fine V Tempm=Temp Nomem=Nome F V F V V F Diagramma a blocchi
  6. 6. Descrizioni delle variabili in Visual Basic Option Explicit ' Dati input Dim N As Integer Dim NOME As String Dim CAT As String Dim TEMP As Double ' Dati di elaborazione Dim CONT As Integer Dim CONTA As Integer ' Dati output Dim TEMPM As Double Dim NOMEM As String
  7. 7. Il Do corrisponde al Ripeti Fino a che … Qui ci va la Condizione I comandi in Visual Basic: Ripeti
  8. 8. I comandi in Visual Basic: Se condizione Istruzioni 1 Istruzioni 2 If = Se Then = Allora Else = Altrimenti End If = Fine Se
  9. 9. Prima di iniziare il ciclo bisogna sempre azzerare le variabili di lavoro
  10. 10. Label - ldl Comand button - cmd Text box - txt La Form

×