Answered step by step
Verified Expert Solution
Question
1 Approved Answer
http://codecheck.it/files/16091708133qzzdr5zkas8p3f0ib5zrzcwb Student scores This assignment will give you practice with dynamic arrays. You will first create a one-dimensional dynamic array of strings and a two-dimensional
http://codecheck.it/files/16091708133qzzdr5zkas8p3f0ib5zrzcwbStudent scores This assignment will give you practice with dynamic arrays. You will first create a one-dimensional dynamic array of strings and a two-dimensional dynamic array of integers. Then you will access these arrays to print the data they contain. Sample input file Your program should read an input file students.txt that is similar in format to the following sample: number of students number of student's scores scores name of the course C++ 3 John Wayne 3 90 85 100 student I names K Frank Snooze 0 Mary Poppins 2 100 99 After the first line, the input file contains one line per student. Each student name is a first name and a last name only, and all the scores are integers. You may assume that there are no errors in the file; in particular, the number of students and the numbers of scores are all correct. There is at least one blank between the input elements. C++ 10 Tom Brown 1 90 Sarah Franklin 4 67 75 70 80 Andy Jones 3 82 89 88 Linus Paul 2 86 93 Lucy Pelt 5 63 69 73 71 82 Mary Poppins 3 100 99 98 Jane Smith 3 89 93 91 Frank Snooze 0 John Wayne 5 90 85 100 78 81 Amanda Young 4 95 91 100 97
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started