Diagrama de Flujo Tarjeta de Credito

Description

Diagrama de flujo programa para determinar validez de tarjeta de credito
Constanza  Echeverria
Flowchart by Constanza Echeverria , updated more than 1 year ago
Constanza  Echeverria
Created by Constanza Echeverria over 6 years ago
1113
0

Resource summary

Flowchart nodes

  • Inicio 
  • Leer numero tarjeta de credito 
  • borrar el ultimo elemento y reemplazarlo por el elemento i del array 
  • desde 0 hasta largo del array 
  • desde 0 hasta < largo dato ingresado
  • formar un array con los datos ingresados 
  • parsear el numero y multiplicarlo por 2 
  • multiplicacion >= 10 ? 
  • si
  • separar digitos  sumarlos  agregar al array 
  • no
  • agregar al array 
  • posicion %2==1? 
  • si
  • no
  • no modificar el array 
  • desde 0 hasta largo del array 
  • parsear numero sumar numero a acumulador de suma  
  • es la suma total % 10 == 0 
  • si
  • no
  • Alert " La tarjeta es valida 
  • Alert " La tarjeta no es valida " 
  • FIN
Show full summary Hide full summary

Similar

Market failure and government intervention - Definitions
clm3496
Databases
Dean Whittle
C1 B1 & P1 Test
jodie00
GCSE Foundation Maths Revision
Mia Jones
Summary of AS Psychology Unit 1 Memory
Asterisked
Chemistry GCSE
frimpongr
Months of the Year in Korean
Sabine Callebaut
AWS – Solution Architect Associate Level Certification - Mock Test
stephon
The Circulatory System
mimtasin afra
1PR101 2.test - Část 6.
Nikola Truong
BM 13 - COMENIUS, HERBART, DEWEY, HÖNIGSWALD
christoph wimmer