Write a program to print string pattern.
L
PAL
NEPAL.
1 Answer
CLS
A$ = "NEPAL"
FOR I = 1 TO LEN (A$) STEP 2
B$ = RIGHT$ (A$, I)
PRINT B$
NEXT I
END
Topics from Computer
System Development Concept
2
Artificial Intelligence
4
File Handling QBASIC
44
Introduction to Digital Marketing
0
Modular programming
50
Number System
1
Object-Oriented Programming (OOP)
8
Office Personnel
1
DBMS
4
QBASIC programming
72
Computer Fundamentals
141
Related Questions
-
Who is a system analyst? What are the characteristics of system analysts? 1
-
What are the different stages of the system development life cycle (SDLC) 1
-
What do you understand about AI? What are the negative and positive aspects of AI in society? 1
-
How does an AI application work? Can a computer really think with the aid of AI? 1