⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cajeroforma2.htm

📁 Do, the mount of the cost of a countable aplication.
💻 HTM
字号:
<html><head>       <title>Cajero Autom醫ico</title></head><body><script language="JavaScript">function Muestra(){	var Monto = document.frmCajero.Monto.value;		var Res1 = Monto % 200;	if (Res1 == 0)	{		document.frmCajero.Doscientos.value = Monto/200;		}	else 	{		var Entero1 = Monto/200;		document.frmCajero.Doscientos.value = parseInt(Entero1)				var Entero2 = Res1/100;		document.frmCajero.Cien.value = parseInt(Entero2);				Res2 = Res1 % 100;		var Entero3 = Res2/50;		document.frmCajero.Cincuenta.value = parseInt(Entero3);				Res3 = Res2 % 50;		var Entero4 = Res3/20;		document.frmCajero.Veinte.value = parseInt(Entero4);				Res4 = Res3 % 20;		var Entero5 = Res4/10;		document.frmCajero.Diez.value = parseInt(Entero5);			}}</script><form name=frmCajero><pre>Monto      <input type=text value=0 name=Monto><br>Retiro  10 <input type=text name=Diez readonly><br>Retiro  20 <input type=text name=Veinte readonly><br>Retiro  50 <input type=text name=Cincuenta readonly><br>Retiro 100 <input type=text name=Cien readonly><br>Retiro 200 <input type=text name=Doscientos readonly><br><br>             <input type=button value=Mostrar OnClick=Muestra()></pre></form></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -