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: Append the array to insert your matric number and mark (use the last two digits of your matric number as the mark). Find the highest mark and the student/s. Find the lowest marks and the student/s. 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"};

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

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"};

Expert Solution
steps

Step by step

Solved in 5 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY