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 
syntax error but its from HP Prime Exercises..what up with that?
11-18-2019, 09:52 PM
Post: #1
syntax error but its from HP Prime Exercises..what up with that?
The error is in ""M; dont know why?
anyone know why?


EXPORT CESAR()
BEGIN
local n;
LOCAL S,M,K;
””M;
//The user is asked to enter the encrypted word
INPUT(n,”Insert in quotation marks”,”Encrypted word”);
SIZE(n)S;
FOR K FROM 1 TO S DO
//This time we shift by 3 letters backwards
M+CHAR(ASC(MID(n,K,1))-3)M;
END;
PRINT(M);
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
syntax error but its from HP Prime Exercises..what up with that? - tom234 - 11-18-2019 09:52 PM



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