Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program to do each of the following. Insert the cpp file and a screen du

ID: 3646996 • Letter: W

Question

Write a program to do each of the following. Insert the cpp file and a screen dump of a sample run into a Word document and submit as an attachment to the midterm in bb. 1. Create a text file that contains 10 student names and 5 grades that range in value from 0 to 100. The file should contain the following information in this order: First Name Last Name Grade1 Grade2 Grade3 Grade4 Grade5 . For example, the first 2 lines of this file might be: John Doe 89.52 89 56.52 99.54 100.00 Sara Jones 78.50 89.23 99.50 23.22 50.12 2. Create a CPP application that does the following: a. Define a variable for file read access and a variable for file write access b. Define a 2 dimensional array with 10 rows and 2 columns

Explanation / Answer

/* File: genFreq.cpp; Mode: C++; Tab-width: 3; Author: Simon Flannery; */ #include #include #include // or iomanip.h namespace std { } using namespace std; int main(int argc, char** argv) { cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote