Questo è l'esercizio di Visual Basic che avevo da fare. Mi sembra di essere esaustiva con la spiegazione, spero non vi sia difficile da capire buona lettura, buona sperimentazione e buon divertimento.
Esercizio di traduzione di diagramma a blocchi.
Argomenti
- Dichiarazione variabili
- Struttura condizionale istruzione SE
- Ciclo, istruzione Do LOOP
- Input e output
-
Queste slide dal titolo provocatorio cercano di dare l'idea che la stupidità e la pigrizia possono avere un effetto positivo nela programmazione per la ricerca di soluzioni semplici. Nello specifico caso parliamo di funzioni in C
This document provides a tutorial on using Wikispaces, a free online wiki platform for educators. It explains how to sign up for an account, create and edit wiki pages, add text, links, images and media, and manage space settings and permissions. Wikis are presented as a useful collaboration tool that can be used by teachers to share ideas, by students to track understanding of lessons, and by staff and parents to communicate information.
Derek Vinyard became a white supremacist after his firefighter father was murdered by a black man. In prison, Derek was raped for questioning the white gang's dealings. His high school teacher visited and encouraged him to rethink his racist views. Derek befriended a black inmate and realized his "brothers" didn't truly care for him. This experience challenged his beliefs and led him to reject white supremacy.
Presentation on how social will change the business world on the intersection of corporates, startups and consultancy. Presented on March 11, 2013 at Solvay Business School, Brussels, during an Alumni event of the Entrepreneur Club.
The document provides advice from Koen Delvaux at Proximus on starting and growing a business. It suggests bootstrapping a startup by making something for yourself and investing time in customers. It advises entrepreneurs within companies to use their voice, listen to customers, and do some "corporate truthtelling." The document also notes that scaling a business requires participating in an ecosystem by picking a spot in the value chain rather than trying to be the whole chain.
The document provides an overview of Nintendo's history and current challenges. It discusses Nintendo's success with systems like the NES, Gameboy, and Wii but notes current challenges with meeting high Wii demand. It also examines Nintendo's competitors like Microsoft and Sony, the need to expand their target market beyond core gamers, and the importance of increasing online features and diversifying beyond solely gaming. Key recommendations include improving production forecasting to reduce stock outs, implementing operations strategies to boost production, and further developing online components and broader target audiences.
Questo è l'esercizio di Visual Basic che avevo da fare. Mi sembra di essere esaustiva con la spiegazione, spero non vi sia difficile da capire buona lettura, buona sperimentazione e buon divertimento.
Esercizio di traduzione di diagramma a blocchi.
Argomenti
- Dichiarazione variabili
- Struttura condizionale istruzione SE
- Ciclo, istruzione Do LOOP
- Input e output
-
Queste slide dal titolo provocatorio cercano di dare l'idea che la stupidità e la pigrizia possono avere un effetto positivo nela programmazione per la ricerca di soluzioni semplici. Nello specifico caso parliamo di funzioni in C
This document provides a tutorial on using Wikispaces, a free online wiki platform for educators. It explains how to sign up for an account, create and edit wiki pages, add text, links, images and media, and manage space settings and permissions. Wikis are presented as a useful collaboration tool that can be used by teachers to share ideas, by students to track understanding of lessons, and by staff and parents to communicate information.
Derek Vinyard became a white supremacist after his firefighter father was murdered by a black man. In prison, Derek was raped for questioning the white gang's dealings. His high school teacher visited and encouraged him to rethink his racist views. Derek befriended a black inmate and realized his "brothers" didn't truly care for him. This experience challenged his beliefs and led him to reject white supremacy.
Presentation on how social will change the business world on the intersection of corporates, startups and consultancy. Presented on March 11, 2013 at Solvay Business School, Brussels, during an Alumni event of the Entrepreneur Club.
The document provides advice from Koen Delvaux at Proximus on starting and growing a business. It suggests bootstrapping a startup by making something for yourself and investing time in customers. It advises entrepreneurs within companies to use their voice, listen to customers, and do some "corporate truthtelling." The document also notes that scaling a business requires participating in an ecosystem by picking a spot in the value chain rather than trying to be the whole chain.
The document provides an overview of Nintendo's history and current challenges. It discusses Nintendo's success with systems like the NES, Gameboy, and Wii but notes current challenges with meeting high Wii demand. It also examines Nintendo's competitors like Microsoft and Sony, the need to expand their target market beyond core gamers, and the importance of increasing online features and diversifying beyond solely gaming. Key recommendations include improving production forecasting to reduce stock outs, implementing operations strategies to boost production, and further developing online components and broader target audiences.
7. START P.A. 2 PERSONE DESCRIZIONE * ELAB 2 DESCRIZIONE EXIT STAMPE FINALI *DESCRIZIONE= -1 Secondo ciclo di lavoro
8. ELAB 2 Q.P. P.U. TIPO * conta=conta+qp imp=p.u. *q.p * contb=contb+qp totimpb=totimpb+imp 2 1 * 3 4 totimpa=totimpa+imp imp=p.u. *q.p All’interno del secondo ciclo
9. 3 4 contc=contc+q.p totimpc=totimpc+imp * contd=contd+q.p totimpd=totimpd+imp conte=conte+q.p totimpe=totimpe+imp 2 1 EXIT imp=p.u. *q.p imp=p.u. *q.p imp=p.u. *q.p La seconda parte all’interno del ciclo
10. STAMPE FINALI somquantità=somquantità+q.p somprezzo=somprezzo+p.u. conto=(somprezzo* somquantità)+ coperto perca=(conta*100)/somquantità percb=(contb*100)/somquantità percc=(contc*100)/somquantità percd=(contd*100)/somquantità 1 Le stampe finali
11. 1 perce=(conte*100)/somquantità * totimpa= Max Max= totimpb * totimpb>Max * Max= totimpc 2 * totimpc>Max Seconda parte delle stampe finali
12. 2 * Max= totimpd * Max= totimpe * totimpd>Max * totimpe>Max conto; totincassato; conta; contb; contc: contd; conte; perca; percb; percc; percd; perce;totimpa; totimpb; totimpc; totimpd;totimpe; Max Terza parte delle stampe finali
13. Tavolo Num persone Descrizione Quantità Prezzo unitario Tipo Questa è la form dell’inizio di visual basic
14. 'preparazione ambiente Public conta As Double Public contb As Double Public contc As Double Public contd As Double Public conte As Double Public perca As Double Public percb As Double Public percc As Double Public percd As Double Public perce As Double Public Max As Double Public totimpa As Double Public totimpb As Double Public totimpc As Double Public totimpd As Double Public totimpe As Double Public somquantità As Double Public somprezzo As Double Public conto As Double Public totincassato As Double Public coperto As Double Public C1 As Double Questo è il modulo
15. Public Sub PA() conta = 0 contb = 0 contc = 0 contd = 0 conte = 0 perca = 0 percb = 0 percc = 0 percd = 0 perce = 0 Max = 0 Desc = 0 C1 = 1.5 totimpa = 0 totimpb = 0 totimpc = 0 totimpd = 0 totimpe = 0 totincassato = 0 somquantità = 0 coperto = 0 somprezzo = 0 End Sub La preparazione ambiente nel modulo
16. Private Sub Cmdinizio_Click() While Txttavolo.Text <> -1 elab1 Txttavolo.Text = InputBox(" numero tavolo") Wend End Sub Private Sub elab1() npersone = Txtcomponenti.Text While Txtdescrizione.Text = "fine" elab2 Txtdescrizione.Text = InputBox("descrizione portata") Wend coperto = npersone * C1 stampefinali End Sub Inizio del problema di visual basic e del primo ciclo
17. Public Sub elab2() If Txttipo.Text = "A" Then conta = conta + Txtquantità.Text importo = Txtprezzo.Text * Txtquantità.Text totimpa = totimpa + importo Else If Txttipo.Text = "B" Then contb = contb + Txtquantità.Text importo = Txtprezzo.Text * Txtquantità.Text totimpb = totimpb + importo Else If Txttipo.Text = "C" Then contc = contc + Txtquantità.Text importo = Txtprezzo.Text * Txtquantità.Text totimpc = totimpc + importo Else If Txttipo.Text = "D" Then contd = contd + Txtquantità.Text importo = Txtprezzo.Text * Txtquantità.Text totimpd = totimpd + importo Else conte = conte + Txtquantità.Text importo = Txtprezzo.Text * Txtquantità.Text totimpe = totimpe + importo End If End If End If I relativi calcoli nel secondo ciclo
18. End If somprezzo = somprezzo + Txtprezzo.Text somquantità = somquantità + Txtquantità.Text End Sub Public Sub stampefinali() perca = (conta * 100) / somquantità percb = (contb * 100) / somquantità percc = (contc * 100) / somquantità percd = (contd * 100) / somquantità perce = (conte * 100) / somquantità conto = (somquantità * somprezzo) + coperto Max = totimpa If totimpb > Max Then Max = totimpb Else End If If totimpc > Max Then Max = totimpc Else End If If totimpd > Max Then Max = totimpd Else End If Le stampe finali
19. If totimpe > Max Then Max = totimpe Else End If MsgBox conta MsgBox contb MsgBox contc MsgBox contd MsgBox conte MsgBox perca MsgBox percb MsgBox percc MsgBox percd MsgBox perce MsgBox Max MsgBox totimpa MsgBox totimpb MsgBox totimpc MsgBox totimpd MsgBox totimpe MsgBox conto MsgBox totincassato End Sub FINE ESERCIZIO