මචංලා මට පහල තියෙන ප්රෝගෑම් එක කරගන්න පොඩි සප් එකක් ඕන..ඕකේ තියෙන විදියට කොහොමද ස්විච් එකකින් සබ් මෙනු එකක් හදන්නේ
අනික් දේ View a student’s data using the ID වගේ දෙයක් කරන්නේ කොහොමද? ප්ලිස් මචංලා පොඩි සප් එකක් දෙන්නෝ 

Use C++ program language to develop a menu driven program which is capable of
answering inquiries made related student data as described below.
The program should display a menu that enables the users to choose whether they want to view all students’records or view only the records of a specific student by the student’s id or to view the highest marks and the lowest marks.
See sample below.
………… MENU ………………
1. View all studentdata
2. View a student’s data using the ID
3. Show the highest and the lowest final marks
Sample output:-
Please enter your choice: 1
|StudentID | TMA1 | TMA2| BCAT | Final
| ==================================================
|1232 | 10 | 23 | 45 | 56 |
|2343 | 45 | 43 | 24 | 78 |
|2343 | 34 | 45 | 45 | 45 |
|3423 | 67 | 6 | 65 | 56 |
Note: These data should be stored in a two-dimensional array
අනික් දේ View a student’s data using the ID වගේ දෙයක් කරන්නේ කොහොමද? ප්ලිස් මචංලා පොඩි සප් එකක් දෙන්නෝ 

Use C++ program language to develop a menu driven program which is capable of
answering inquiries made related student data as described below.
The program should display a menu that enables the users to choose whether they want to view all students’records or view only the records of a specific student by the student’s id or to view the highest marks and the lowest marks.
See sample below.
………… MENU ………………
1. View all studentdata
2. View a student’s data using the ID
3. Show the highest and the lowest final marks
Sample output:-
Please enter your choice: 1
|StudentID | TMA1 | TMA2| BCAT | Final
| ==================================================
|1232 | 10 | 23 | 45 | 56 |
|2343 | 45 | 43 | 24 | 78 |
|2343 | 34 | 45 | 45 | 45 |
|3423 | 67 | 6 | 65 | 56 |
Note: These data should be stored in a two-dimensional array