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 almost 7 years ago
1133
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

Statistics Key Words
Culan O'Meara
The Cold War Quiz
Niat Habtemariam
BIOLOGY HL DEFINITIONS IB
Luisa Mandacaru
An Inspector calls - Gerald Croft
Rattan Bhorjee
GCSE AQA Biology - Unit 1
James Jolliffe
AS Economics Key Terms
Fred Clayton
B3, C3, P3
George Moores
Periodic table - full deck of element symbols
Derek Cumberbatch
exothermic and endothermic reactions
janey.efen
What You Can Do Using GoConqr
Micheal Heffernan
PSBD/PSCOD/ASSD-New
Yuvraj Sunar