EJERCICIOS EN DEV C++

May 16, 2019 | Author: John Mejia Diaz | Category: Computer Libraries, Areas Of Computer Science, Computing, Tecnología, Computer Standards
Share Embed Donate


Short Description

Algunos ejercicios en dev c++ 1)Funciones 2)Estructura repetitivas...

Description

ESTRUCTURA REPETITIVAS 1) CAPICUA #include #include #include

main) ! int n"au"di$"cab%

&'int(*nIn$'ese un nume'o+)% scan(,d"-n)%

aun% cab/%

0hilen/) ! di$n,1/% cabcab21/3di$% nn41/% 5

i(cabau) !&'int(*nEl nume'o es ca&icua)%5 else !&'int(*nElnume'o no es ca&icua)%5

s6stem&ause)%

eit/)% 5

7)C89:I;AT8RIA #include #include #include

main)

! lon$ int m"n"s"'"i"(acn1"(acm1"(acs1%

&'int(*nIn$'ese el alo' m+)%

scan(,ld"-m)%

&'int(*nIn$'ese el alo' de n+)% scan(,d"-n)%

sm=n%

i(n
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF