This program finds the missing side length of a right triangle given the other two sides using the Pythagorean theorem. It can come in handy, plus it gives you all the data that you would get from the in between steps so you can write that down and make it look like you did work ;) like always, don't copy and paste the program because it won't work. Download using the link at the bottom.
Code:
:"The pythagorean theorem
ClrHome
0üA:0üB:0üC:0üD:0üE:0üF:0üG:0üH:0üI
Disp "Enter all data.","Enter 0 for the","unknown."
For(E,1,750)
End
Lbl 1
ClrHome
Prompt (A)
Prompt (B)
Prompt (C)
If A>0 and B>0 and C>0
Then
Goto 2
End
If A=0 and B=0 and C=0
Then
Goto 3
End
If A=0
Then
CÜ-BÜüD
ð(D)üA
Output(4,1,"A=")
Output(4,3,A
Goto 2
End
If B=0
Then
CÜ-AÜüD
ð(D)üB
Output(4,1,"B=")
Output(4,3,B
Goto 2
End
If C=0
Then
AÜ+BÜüD
ð(D)üC
Output(4,1,"C=")
Output(4,3,C
Goto 2
End
Lbl 2
Output(5,1,"AÜ=")
Output(5,4,AÜ
Output(6,1,"BÜ="
Output(6,4,BÜ
Output(7,1,"AÜ+BÜ="
Output(7,7,AÜ+BÜ
Output(8,1,"CÜ="
Output(8,4,CÜ
Pause 
ClrHome
Goto 1
Lbl 3
ClrHome
Output(4,1,"      Bye!      "
For(Á,1,750)
End
ClrHome
Stop