Ask Question
19 April, 17:40

Write qbasic code for given pattern

NEPAL

. EPA

. P

+4
Answers (1)
  1. 19 April, 17:47
    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?
Get an answer to your question ✅ “Write qbasic code for given pattern NEPAL . EPA . P ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers