ALGORITMOS PSEUDOCODIGOS
1
ALGORITMOS. 1) Inicio S1= natural S2= natural S3= natural Sf1= natural Sf2= natural Sf3= natural Leer (S1, S2, S3) Sf1= ((S1*10)/100) +S1 Sf2= ((S2*15)/100)+ S2 Sf3 = ((S3*20)/100) +S3 Mostrar (Sf1, Sf2, Sf3). 2) Inicio C= natural CF= natural Leer ( C= cantidad depositada) CF=(C*20/100) +C Mostrar CF.
-
Upload
camilo-ruiz -
Category
Documents
-
view
224 -
download
6
description
se muestran dos ejemplos de algoritmos en pseudocodigos
Transcript of ALGORITMOS PSEUDOCODIGOS
ALGORITMOS.
1) Inicio
S1= natural
S2= natural
S3= natural
Sf1= natural
Sf2= natural
Sf3= natural
Leer (S1, S2, S3)
Sf1= ((S1*10)/100) +S1
Sf2= ((S2*15)/100)+ S2
Sf3 = ((S3*20)/100) +S3
Mostrar (Sf1, Sf2, Sf3).
2) Inicio
C= natural
CF= natural
Leer ( C= cantidad depositada)
CF=(C*20/100) +C
Mostrar CF.