CS201-VU- Multi Diemensional arrays in cpp with do while loop
Hello guys! The following cpp program demonstrates the use of two dimensional Arrays and do while loop; comment below for any queries. #include <iostream> #include <stdlib.h> using namespace std; void showElements(float cov19data[][4]); // functions definitions double percentageDeath(float cov19data[][4], int userChoice); double percentageRecovered(float cov19data[][4], int userChoice); int main() { int selectedOption; float cov19data[7][4] // defining two diemensional array { { 0, 560433, 22115, 32634}, { 1, 156363, 19899, 34211}, { 2, 84279, 10612, 0}, { 3, 82160, 3341, 77663}, { 4, 71686, 4474, 43894}, { 5, 56956, 1198, 3446}, { 6, 5374, 93, 1095} }; do { // do while loop to run program untill user terminates it. showElements(cov19data); // function call cout << "\n\n"; cout << "Press The Country Code To Calculate Perce...