remainder - > is the STO button This program calculates...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Calculator program giving remainders: :Prompt M :Lbl P :Prompt A :A-M*int(A/M)->R :Disp R :Goto P Prompt, Input, Disp are on the I/O menu from the PRGM button. Lbl, Goto are on the CTL menu from the PRGM button. int (Integer part) is on the NUM menu from the MATH button.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: -> is the STO button. This program calculates and displays the remainder R when A is divided by M. When you run it, it Frst asks for M, then keeps asking for new As until you kill it (ON button, select Quit ). 1...
View Full Document

This note was uploaded on 12/19/2010 for the course AMS 351 taught by Professor Staff during the Fall '08 term at SUNY Stony Brook.

Ask a homework question - tutors are online