Documentos de Académico
Documentos de Profesional
Documentos de Cultura
UAPA
m
er as
Tema:
co
eH w
Bucles
o.
rs e Asignatura:
ou urc
Programación I
o
Participante:
aC s
v i y re
Darling Steven
Matricula:
ed d
2019-01922
ar stu
Facilitador:
sh is
Fecha:
14 de agosto 2020
This study source was downloaded by 100000815462792 from CourseHero.com on 11-06-2021 17:53:01 GMT -05:00
https://www.coursehero.com/file/66636923/tarea-5-programacion-1docx/
Después de consultar el texto básico de la asignatura y otros documentos
sugeridos por su facilitador, en el contenido de la Unidad V, realiza las actividades
sugeridas:
1.- Utiliza el bucle for, crea un programa que imprima los números impares del 1 al
15.
#include <stdio.h>
#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or
input loop */
m
int numero;
er as
co
eH w
printf( "Numeros impares:\n " );
o.
rs e
ou urc
for ( numero = 1 ; numero <= 15 ; numero += 2 )
{
o
}
v i y re
}
ed d
ar stu
sh is
Th
This study source was downloaded by 100000815462792 from CourseHero.com on 11-06-2021 17:53:01 GMT -05:00
https://www.coursehero.com/file/66636923/tarea-5-programacion-1docx/
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
v i y re
ed d
multiplicación del 5
#include <stdio.h>
sh is
#include <stdlib.h>
Th
/* run this program using the console pauser or add your own getch,
system("pause") or input loop */
char seguir;
int i, numero;
do
This study source was downloaded by 100000815462792 from CourseHero.com on 11-06-2021 17:53:01 GMT -05:00
https://www.coursehero.com/file/66636923/tarea-5-programacion-1docx/
scanf( "%d", &numero );
fflush( stdin );
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
v i y re
ed d
ar stu
sh is
Th
This study source was downloaded by 100000815462792 from CourseHero.com on 11-06-2021 17:53:01 GMT -05:00
https://www.coursehero.com/file/66636923/tarea-5-programacion-1docx/
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
v i y re
3.- Relaiza un programa que imprima n cantidad de veces UAPA, por ejemplo:
ed d
Candtidad .:3
ar stu
UAPA
UAPA
sh is
UAPA
Th
#include <stdio.h>
#include <stdlib.h>
/* run this program using the console pauser or add your own getch,
system("pause") or input loop */
This study source was downloaded by 100000815462792 from CourseHero.com on 11-06-2021 17:53:01 GMT -05:00
https://www.coursehero.com/file/66636923/tarea-5-programacion-1docx/
n2=1;
scanf("%d",&n3);
printf("UAPA\n");
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
v i y re
ed d
ar stu
sh is
Th
This study source was downloaded by 100000815462792 from CourseHero.com on 11-06-2021 17:53:01 GMT -05:00
https://www.coursehero.com/file/66636923/tarea-5-programacion-1docx/
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
v i y re
ed d
ar stu
sh is
Th
This study source was downloaded by 100000815462792 from CourseHero.com on 11-06-2021 17:53:01 GMT -05:00
https://www.coursehero.com/file/66636923/tarea-5-programacion-1docx/
Powered by TCPDF (www.tcpdf.org)