http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Calculator Programming \ Program for the TI-83

Click here to log in (you must be logged in to post comments).

AuthorComment
DarkSilence
Probe
Posted: 10 Aug 2007
04:47 GMT
Total Posts: 4
Hello All!

i'm looking to find/create a program for the TI-83 that will add 17.% or subtract 17.5% from any number imputed into the calc. does anyone know of a program that does this or would someone be willing to show me to to set it up myself? i've never made any kind of program for a calc before. i know i'm probably asking a lot, so thanks in advance for any reply.

Thanks
Dark Silece
Super Speler
Dragoon
avatar
Posted: 10 Aug 2007
04:59 GMT
Total Posts: 50
What you need to do is have the user input a variable using Input or Prompt in combination with basic math and output commands like so:

prgm:ADDSUB
:Input A
:17.5
:Disp A+Ans,A-Ans

(I use Ans because it saves three bytes)

---
"My doctor says that I have a malformed public-duty gland and a natural deficiency in moral fibre and that I am therefore excused from saving universes."
Zachary940
Wraith
avatar
Posted: 10 Aug 2007
11:22 GMT
Total Posts: 714
Na man that wont work. He needs to add 17.5%.

prgm:ADDSUB
:Input A
:.175A
:Disp A+Ans,A-Ans


---
It is much easier to suggest solutions when you know nothing about the problem.
Super Speler
Dragoon
avatar
Posted: 10 Aug 2007
13:49 GMT
Total Posts: 50
Sorry, I left out the A. Man I was tired when I wrote that :(.

---
"My doctor says that I have a malformed public-duty gland and a natural deficiency in moral fibre and that I am therefore excused from saving universes."
Zachary940
Wraith
avatar
Posted: 10 Aug 2007
19:21 GMT
Total Posts: 714
Its fine.

---
It is much easier to suggest solutions when you know nothing about the problem.
DarkSilence
Probe
Posted: 13 Aug 2007
00:20 GMT
Total Posts: 4
that looks great! where would i find the "input" button? or do i just key the word in?
threefingeredguy
Ghost
avatar
Posted: 13 Aug 2007
09:33 GMT
Total Posts: 1189
Hit the PRGM button then go right to the I/O menu. It should be the first option.

---
Someone call for an exterminator?
DarkSilence
Probe
Posted: 15 Aug 2007
01:25 GMT
Total Posts: 4
ok, i've tried entering the program as you have written it above, however it keeps coming up with an error. i've tried adding end to the end of the program as it seemed like a good idea at the time but that hasn't helped either. the only thing i can think of is that i'm getting my 'a' symbol the wrong way. i'm hitting the green 'alpha' button and then hitting the 'math' button to use the letter 'a'. if this is correct, i'm not sure what i'm doing wrong.
sorry to be such a pest.

also, how do i delete a program once i've made it?
Zachary940
Wraith
avatar
Posted: 15 Aug 2007
03:40 GMT
Total Posts: 714
What kind of error?
I'm assuming syntax?
For now put a 0 infront of .175A. I'll play with it at school and let you know latter.

---
It is much easier to suggest solutions when you know nothing about the problem.
threefingeredguy
Ghost
avatar
Posted: 15 Aug 2007
10:18 GMT
Total Posts: 1189


---
Someone call for an exterminator?
Zachary940
Wraith
avatar
Posted: 15 Aug 2007
12:05 GMT
Total Posts: 714
Yep, I did that at school and it works.

---
It is much easier to suggest solutions when you know nothing about the problem.
DarkSilence
Probe
Posted: 16 Aug 2007
03:57 GMT
Total Posts: 4
OMGS! Thanks so much! it works Perfectly now.. i think i wasn't hitting enter to initiate the program, i was just entering in a number. you guys Rock!

Thanks again!
Dark Silence ( her - not him ;p )
threefingeredguy
Ghost
avatar
Posted: 16 Aug 2007
13:08 GMT
Total Posts: 1189
To delete a program hit [2nd][+], select All, navigate to the program with the arrow keys, and hit [Del].

---
Someone call for an exterminator?





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org