Consider the following declaration of a struct: struct studentType { char name[26]; float avg; int sID; char grade; }; ---USING POINTERS--- Write a program that will dynamically allocate an array of...

C++ please make simple
Consider the following declaration of a struct:<br>struct studentType<br>{ char name[26];<br>float avg;<br>int sID;<br>char grade;<br>};<br>---USING POINTERS---<br>Write a program that will dynamically allocate an array<br>of studentType.<br>NOTE: You may prompt your

Extracted text: Consider the following declaration of a struct: struct studentType { char name[26]; float avg; int sID; char grade; }; ---USING POINTERS--- Write a program that will dynamically allocate an array of studentType. NOTE: You may prompt your "Instructor" and ask how many students are in the class! Then, read in values from a file for each member. Based on the average, i.e., avg, determine their grade. Print all the information from the beginning to the end , and LASTLY, USING POINTERS ONLY, and then, print the array and all related information backwards.

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here