Estructuras condicionales

Page 1

INICIO “Ingrese un

numero”

DIAGRAMA DE FLUJO

“a”

PSEUDOCODIGO:

• INICIO • INGRESE UN NUMERO • si “a” es igual 2, 3 o 5 es un numero primo, si NO, no es un numero primo. • FIN DEL ALGORITMO • FIN.

a=2,3,5 NO

SI “Son números primos” O FIN


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Estructuras condicionales by Aydee Cortes - Issuu