Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

It needs to allow a two-digit number for input that will be used to indicate how

ID: 3530368 • Letter: I

Question

It needs to allow a two-digit number for input that will be used to indicate how many times the name is printed. I can't figure out how to separate the second digit though and have it checked to make sure it is between 0x30 and 0x39. I also keep getting this weird box after the name that has 0017 inside it.


You can see the code here:http://stackoverflow.com/questions/15317291/x86-assembly-2-digit-keyboard-input


I am thinking I need to switch it back from a byte register to word register, but not sure how to.

Explanation / Answer

i=348842. double i2=i/60000; DecimalFormat dtime = new DecimalFormat("#.##"); i2= Double.valueOf(dtime.format(time)); v.setText(String.valueOf(i2));

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote