menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Re-write the below program correcting the bugs CLS ENTER "ENTER A STRING", NS A=LEN(N) FOR I=A TO 1 STEP 2 XS-XS-MID(N$,1,1) NEXT IF N=5 PRINT “IT IS PAUNDROME" ELSE PRINT “IT IS NOT PALINDROME" ENDIF
asked
Apr 4, 2022
36.4k
views
2
votes
Re-write the below program correcting the bugs
CLS
ENTER "ENTER A STRING", NS
A=LEN(N)
FOR I=A TO 1 STEP 2
XS-XS-MID(N$,1,1)
NEXT
IF N=5
PRINT “IT IS PAUNDROME"
ELSE
PRINT “IT IS NOT PALINDROME"
ENDIF
END
Computers and Technology
high-school
Prabhu Natarajan
asked
by
Prabhu Natarajan
8.6k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
1
vote
Answer:
??????????????????????????
Mikedanylov
answered
Apr 9, 2022
by
Mikedanylov
8.0k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Sep 6, 2023
112k
views
Re-write the given program after correcting the bugs. REM to add record in an existing file CLS OPEN "Record.Dat" FOR OUTPUTAS #1 AA: INPUT "Enter Name, Class and Roll No. ";- -Nm$, Cl, Rn INPUT #2, Nm$,
Dpavlin
asked
Sep 6, 2023
by
Dpavlin
7.6k
points
Computers and Technology
high-school
1
answer
4
votes
112k
views
asked
Mar 12, 2023
221k
views
The following is a function: FUNCTION findmax(score) length <-- len(score) maxvalue <-- score[0] FOR n <-- 1 TO length - 1 IF score[n] > maxvalue maxvalue <-- score[n] ENDIF ENDFOR RETURN maxvalue ENDFUNCTION (a) Write a statement to use this function to find the maximum value in an array NumberOfViewers [1] (b) Give the name of a parameter used by this function. [1] (c) Identify a local variable [1] (d) State the data type of score. [1] (e) Give an example from this function of (i) an assignment statement [1] (ii) iteration [1] (iii) selection [1]
Colonel Sponsz
asked
Mar 12, 2023
by
Colonel Sponsz
8.6k
points
Computers and Technology
high-school
1
answer
3
votes
221k
views
asked
Jun 17, 2024
132k
views
B. Debug the following program CLS REM reversing a word INPUT "Enter a word"; W$ FOR P= LEN (W$) TO 1 E$ = MID (W$, 1, P) R$ = E$ + R$ NEXT P PRINT "Reverse word is "; E$ END
Phoebe
asked
Jun 17, 2024
by
Phoebe
8.8k
points
Computers and Technology
college
1
answer
2
votes
132k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Explain why binary codes are used to represent characters, numbers and symbols :)
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org