The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
(35s) Long Division
09-04-2024, 06:31 AM (This post was last modified: 09-04-2024 06:38 AM by Gamo.)
Post: #1
(35s) Long Division
Just a simple program to calculate Long Division.

User [Input A] for "Dividend" and [Input B] for "Divisor"

Program will find the "Quotient and Remainder"

Answer display Quotient on top line and Remainder bottom line.
----------------------------------------------------------------------
Usage: DISPLAY Fix 0

GTO . . // to start program from the top

[R/S] display A? input Dividend
[R/S] display B? input Divisor
[R/S] display Answer Q on top and R on the bottom
-----------------------------------------------------------
Example: 1234567890 ÷ 987

[R/S] A? 1234567890
[R/S] B? 987

[R/S] display answer 1250828 and 654

Quotient is 1250828
Remainder is 654
-----------------------------------------------------------
Program
Quote:0001 INPUT A
0002 INPUT B
0003 INT÷
0004 RCL A
0005 RCL B
0006 RMDR

Remark:
This is my first program to try with the HP 35s since I only got this
calculator as an app on my PC.

Another example: 77088077 ÷ 7717

Q = 9989
R = 2964

Gamo 9/2024
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(35s) Long Division - Gamo - 09-04-2024 06:31 AM
RE: (35s) Long Division - PedroLeiva - 09-04-2024, 11:11 AM
RE: (35s) Long Division - Gamo - 09-04-2024, 02:07 PM
RE: (35s) Long Division - Gamo - 09-05-2024, 04:13 AM
RE: (35s) Long Division - Thomas Klemm - 09-05-2024, 05:26 AM



User(s) browsing this thread: 5 Guest(s)