Post Reply 
What is wrong with my code?
01-21-2021, 05:13 AM (This post was last modified: 01-21-2021 05:14 AM by rawi.)
Post: #2
RE: What is wrong with my code?
I think the problem is your print command before the final end command.
Replace it by
PRINT("
Distance between points:
"+r);
and it works.
If I try with 1,2,3,4 being a,b,c,d respectively I get:

Distance between points:
665857/235416

Best
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
What is wrong with my code? - Spybot - 01-20-2021, 09:05 PM
RE: What is wrong with my code? - rawi - 01-21-2021 05:13 AM
RE: What is wrong with my code? - C.Ret - 01-21-2021, 08:27 PM
RE: What is wrong with my code? - Spybot - 01-23-2021, 01:25 AM
RE: What is wrong with my code? - C.Ret - 01-23-2021, 07:56 PM
RE: What is wrong with my code? - Han - 01-24-2021, 03:31 AM
RE: What is wrong with my code? - Spybot - 01-24-2021, 03:40 PM



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