ACTIVIDAD TERCER CORTE.pdf - Algoritmo y Programación G 302 Gabriela Díaz Gutiérrez PA 1 Dim n1 n2 As Single 2 Private Sub CommandButton1_Click 3

ACTIVIDAD TERCER CORTE.pdf - Algoritmo y Programación G...

• 2

This preview shows page 1 - 2 out of 2 pages.

Algoritmo y Programación G: 302 Gabriela Díaz Gutiérrez PA 1 Dim n1, n2 As Single 2 Private Sub CommandButton1_Click() 3 MsgBox ( Valores enteros entre dos números naturales ) 4 n1= InputBox ( Ingrese primero numero: ) 5 n2= InputBox ( Ingrese segundo numero: ) 6 If (n1>n2) Then 7 For i=n1-1 To n2+1 Step -1 8 disp(i) 9 Next i 10 MsgBox ( ORDEN ASCENDENTE ) 11 Else 12 For (j=n1+1; j<= n2-1; j=j+1) 13 MsgBox (j) 14 Next j 15 Fin Si 16 End Sub PB 1 float n1,n2; 2 cout << Valores enteros entre dos números naturales << endl; 3 cout << Ingrese primer numero , endl; 4 cin >> n1; 5 cout << Ingrese segundo numero << endl; 6 cin << n2; 7 if (n1>n2)

Subscribe to view the full document.

• Spring '17
• oscar
• Dim n1, Gabriela Díaz Gutiérrez

What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes