A two-dimensional array that contains the matric numbers and marks for a group of students taking Engineering Programming is given below. Copy the array into your C++ compiler and write C++...


A two-dimensional array that contains the matric numbers and marks for a group of students taking Engineering Programming is given below. Copy the array into your C++ compiler and write C++ instructions for the following:



  1. Append the array to insert your matric number and mark (use the last two digits of your matric number as the mark).

  2. Find the highest mark and the student/s.

  3. Find the lowest marks and the student/s.

  4. Calculate the percentage of grades A (75 and above), B (60 to 74), C (45 to 59), and F (44 and below).




string marks[55][2]={"BK14110062", "75",


"BK14110129",          "60",


"BK15110018",          "55",


"BK15110031",          "45",


"BK15110034",          "50",


"BK15110039",          "60",


"BK15110056",          "83",


"BK15110065",          "36",


"BK15110075",          "65",


"BK15110086",          "53",


"BK15110089",          "51",


"BK15110102",          "45",


"BK15110103",          "55",


"BK15110111",          "60",


"BK15110112",          "55",


"BK15110113",          "52",


"BK15110119",          "46",


"BK15110142",          "83",


"BK15110152",          "40",


"BK15110158",          "51",


"BK15110161",          "51",


"BK15110169",          "40",


"BK15110176",          "47",


"BK15110177",          "50",


"BK15110186",          "62",


"BK15110188",          "45",


"BK15110194",          "60",


"BK15110195",          "36",


"BK15110204",          "62",


"BK15110205",          "55",


"BK15110213",          "65",


"BK15110215",          "65",


"BK15110224",          "75",


"BK15110225",          "50",


"BK15110239",          "35",


"BK15110251",          "70",


"BK15110264",          "44",


"BK15110269",          "70",


"BK15110270",          "36",


"BK15110283",          "67",


"BK15110299",          "81",


"BK15110310",          "50",


"BK15110315",          "72",


"BK15110321",          "57",


"BK15110341",          "67",


"BK15110342",          "81",


"BK15160347",          "50",


"BK15160351",          "65",


"BK15160359",          "57",


"BK15160361",          "51",


"BK15160363",          "60",


"BK15160397",          "61",


"BK15160400",          "67",


"BK15160414",          "65",


"BK15270423",          "62"};

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here