Question: Hi , PROGRAM: THXDIFF : Prompt, C , P : ( 1 - C ) + A : A * ( 1 - P )
Hi PROGRAM: THXDIFF
: Prompt,
:
:
:
:
: :DisF DIFFEREN
:
Im trying to write a program on my TI Plus calculator to calculate the difference in aftertax income percentages between a corporate and partnership form of organization, considering both corporate and personal tax rates. However, Im encountering a "Syntax Error" after I input my values for the variables.
Here is the code I entered:
mathematica
Copy code
:Prompt CP
:CA
:APB
:PD
:DBDiff
:Disp "DIFFERENCE:",Diff
Steps Im Following:
I run the program using PRGM select the program TAXDIFF, and press ENTER.
I input the corporate tax rate eg for when prompted for C and press ENTER.
I input the personal tax rate eg for when prompted for P and press ENTER.
After entering the value for P I immediately get a "Syntax Error."
Troubleshooting I've Tried:
Doublechecked every line for proper syntax, use of colons : and the symbol STO button
Ensured parentheses are correctly placed around expressions.
Reentered the code from scratch to ensure no typos.
Verified that all inputs are decimals eg for
Could someone please help me identify what's causing the syntax error and how to fix it Id appreciate any advice or corrections to the code that might help me resolve this issue. Thank you!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
