
Greetings everyone. In this tutorial we will learn to make tables. All the codes are in written form so that you can easily copy and paste it on your writing.
1. Table with 2 columns and 4 rows
Code
Product name | Price
------------ | -------------
Paddy| 70
Lentils| 50
Oil| 110
Output
| Product name | Price |
| Paddy | 70 |
| Lentils | 50 |
| Oil | 110 |
2. table with 4 columns and 5 rows
Code
Product name | weight| quantity| Price
------------ | ------------- | ------------- | -------------
Paddy| 1 kg| | 70
Eggs| | 4 | 38
Lentils| 1 kg| | 80
Oil| 1 kg| | 110
Output
| Product name | weight | quantity | Price |
| Paddy | 2 kg | | 90 |
| Eggs | | 4 | 38 |
| Lentils | 500 gram | | 80 |
| Oil | 1 kg | | 110 |