Ask Question
10 March, 02:08

Write qbasic code for given pattern

NEPAL

. EPA

. P

+5
Answers (1)
  1. 10 March, 02:39
    0
    The program to question as follows:

    Program:

    PRINT "NEPAL", 'print message

    PRINT ". EPA", 'print message

    PRINT ". P ", 'print message

    Output:

    NEPAL

    . EPA

    . P

    Explanation:

    In the above Qbasic program code, the three print function will be used to print the given pattern, that can be described as follows:

    The first time the print function is used, which uses a value, that is "NEPAL" to print its value. In the second time, again this function is used, that prints a value, that is ". EPA". In the last time, the print method accepts a value, which is ". P" to print its value. when the code is executed, it will print the given design.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Write qbasic code for given pattern NEPAL . EPA . P ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers