Académique Documents
Professionnel Documents
Culture Documents
RUBRICA 3
Maricarmen Piñón Díaz
080260354-8
5101-I
txtqui.Text = x \ 500
x = x Mod 500
txtdos.Text = x \ 200
x = x Mod 200
txtcien.Text = x \ 100
x = x Mod 100
txtcin.Text = x \ 50
x = x Mod 50
txtveinte.Text = x \ 20
txtresiduo.Text = x
End Sub
End Sub
End Sub
End Sub
End Class
cajero
cantidadoriginal bill500 bill200 bill100 bill50 bill20 cantidadtexto
5000 10 0 0 0 0 cinco mil
4900 9 2 0 0 0 cuatro mil novecientos
4570 9 0 0 1 1 cuatro mil quinientos setenta
4990 9 2 0 1 2 cuatro mil novecientos noventa
3900 7 2 0 0 0 tres mil novecientos
980 1 2 0 1 1 novecientos Ochenta