WAEC offline past questions - with all answers and explanations in one app - Download for free
WAEC May/June 2024 - Practice for Objective & Theory - From 1988 till date, download app now - 99995

2022 WAEC Computer Studies Theory A palindrome is a word which can be written in reversed order and it retains...

Computer Studies
WAEC 2022

A palindrome is a word which can be written in reversed order and it retains its meaning and spelling,Examples are lawal,ada,abba,etc

Write a simple QBASIC instruction that will accept a word from the keyboard and check if it is a palindrome or not. The palindrome must display a message showing if the word is palindrome or not.

WAEC offline past questions - with all answers and explanations in one app - Download for free
WAEC May/June 2024 - Practice for Objective & Theory - From 1988 till date, download app now - 99995
WAEC Past Questions, Objective & Theory, Study 100% offline, Download app now - 24709
Explanation

CLS

INPUT-ENTERANY:";S$

For l =LEN(S$) TO 1STEP-1

     B$=MID$(S$,L,1)

     W$=W$+B$

 Next l

IF S$=W$ THEN

     PRINT " it is palindrome"

ELSE

      PRINT "It is not palindrome

END IF

END


Report an Error Ask A Question Download App
WAEC May/June 2024 - Practice for Objective & Theory - From 1988 till date, download app now - 99995
WAEC Past Questions, Objective & Theory, Study 100% offline, Download app now - 24709
WAEC offline past questions - with all answers and explanations in one app - Download for free

Contributions ({{ comment_count }})

Please wait...

{{ settings.no_comment_msg ? settings.no_comment_msg : 'There are no comments' }}

Quick Questions

Post your Contribution

Please don't post or ask to join a "Group" or "Whatsapp Group" as a comment. It will be deleted. To join or start a group, please click here

{{ quote.posted_by.display_name }}
{{ settings.form_textarea_description }}
 
WAEC May/June 2024 - Practice for Objective & Theory - From 1988 till date, download app now - 99995
WAEC Past Questions, Objective & Theory, Study 100% offline, Download app now - 24709
WAEC offline past questions - with all answers and explanations in one app - Download for free
WAEC Past Questions, Objective & Theory, Study 100% offline, Download app now - 24709
WAEC offline past questions - with all answers and explanations in one app - Download for free
WAEC May/June 2024 - Practice for Objective & Theory - From 1988 till date, download app now - 99995