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

GCSE PE - 3
lydia_ward
To Kill A Mockingbird Complete Notes
jessica.moscrip
EBW: Onderwerp 1, Gr7 (KABV)
mvloch
CPA Exam Topics and breakdown
joemontin
GCSE Mathematics Topics
goldsmith.elisa
The Brain and the Nervous System
feelingthepayne
An Inspector Calls: Mr Arthur Birling
Rattan Bhorjee
An Inspector Calls: Sheila Birling
Rattan Bhorjee
Input, output and storage devices
Mr A Esch
OP doplnovaci otazky II.
Helen Phamova
Specific topic 7.7 Timber (tools/equipment/processes)
T Andrews