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 (my matrik number is BK21110025 and mark is 25). 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",

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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 (my matrik number is BK21110025 and mark is 25).
  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 2 steps

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education