Tarea 10.doc

# Tarea 10.doc - Prctica de ejercicios Nombre Jose Nombre del...

• 2

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

Práctica de ejercicios Nombre : Jose Matrícula : 2762312 Nombre del curso: Fundamentos de Programacion Nombre del profesor : Omar Velazquez Módulo : 3 Actividad : Tarea 10 Fecha : 17/11/17 Bibliografía : Desarrollo de la práctica: #include <stdio.h> #include <stdlib.h> int separa_suma (int numero) { int cifra = 0; int residuo = 0; int suma = 0; do{ if(numero < 10) { cifra = numero/1; residuo = numero%1; } else if(numero < 100) { cifra = numero/10; residuo = numero%10; } else if(numero < 1000) { cifra = numero/100; residuo = numero%100; } else if(numero < 10000) { cifra = numero/1000;

#### You've reached the end of your free preview.

• Fall '17
• #include, int separa_suma, int cifra

{[ snackBarMessage ]}

###### "Before using Course Hero my grade was at 78%. By the end of the semester my grade was at 90%. I could not have done it without all the class material I found."
— Christopher R., University of Rhode Island '15, Course Hero Intern

### 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