WAP to accept names of 10 students and their age in the respective shells of 2 arrays then display the name of students and their age if their age is above 18 display the result in tabular form
|
name |
age |
|
reema |
14 |
|
rahul |
45 |
|
suraj |
29 |
|
neha |
18 |
|
Sumit |
20 |
|
priya |
23 |
|
ruhi |
10 |
|
Suhani |
19 |
|
Sunita |
21 |
|
aayushman |
9 |
Output
|
name |
age |
|
rahul |
45 |
|
suraj |
29 |
|
neha |
18 |
|
Sumit |
20 |
|
priya |
23 |
|
Suhani |
19 |
|
Sunita |
21 |
Published By : Sunita Chhetry

