Welcome to NKPL!

I'm proud that you have chosen NKPL as your development language. NKPL is going to help you in several ways.


NKPL Docs

NKPL can be used in the front-end or in the back-end. It can be used to create anything you want. In this page, We'll create a simple console application using NKPL that prints all the multiplication table of 25.

The write keyword

Keywords in NKPL are the words which are assigned to do a particular task. For example, the write keyword prints the text in the console window or in the system. The syntax of the write keyword is as follows:-

1. write "your text in string";

Let's create a sample app

To understand this better, We have to create a sample app called MultiTable. This application will print the multiplication table of 25. At the end of creating this app, you will be able to understand the write keyword in a proper way. Given below is the code and you can run and try the code.

1. write "Welcome to MultiTables.";

2. write "25 x 1 = 25";

3. write "25 x 2 = 50";

4. write "25 x 3 = 75";

5. write "25 x 4 = 100";

6. write "25 x 5 = 125";

7. write "25 x 6 = 150";

8. write "25 x 7 = 175";

9. write "25 x 8 = 200";

10. write "25 x 9 = 225";

11. write "25 x 10 = 250";


Now, You have a clear understanding of the write keyword. Next we will see comments in NKPL.