subject
Computers and Technology, 01.12.2021 01:40 nomood

It is the year 2067. Quantum Space Inc. has grown so much that it cannot find enough scientists and engi- neers to hire. Therefore, the company created the Miami Quantum Space College (MQSC) to train the next generation of quantum space scientists and engineers. The company is keeping track of its students' information using an old system of text files but plans to implement a new system soon. Your job for this project is to make sure that the data in the files is not corrupted. Write a program that: 1- Asks the user for an input file came 2- Validates that the user entered a valid file name (name of an existing file). 3. If the user enters invalid file names 3 times, displays an error message and quits. 4- Reads from the input file the names of 4 students and their grades (3 grades per student). The names of the students will be stored in a one-dimensional array while the grades will be stored in a two-dimensional array. This information must be stored in arrays so that the name of a student can be associated with his/her grades parallel arrays). 5. After reading the student information into the arrays, displays the name of each student followed by his/her grades to the console as follows: Structure of input file:
Student 1 Grade Grade 2 Grade 3 Student 2 Grade I Grade 2 Grade 3 Student 3 Grade 1 Grade 2 Grade 3 Student 4 Grade I Grade 2 Grade 3 1 2 3 Student Name Student 1 Grade 1 Student 1 Grade 2 Student 1 Grade 3 Student 2 Name Student 2 Grade 1 Student 2 Grade 2 Student 2 Grade 3 Student 3 Name Student 3 Grade 1 Student 3 Grade 2 Student 3 Grade 3 Student 4 Name Student 4 Grade 1 Student 4 Grade 2 Student 4 Grade 3 3 For Example: Rodolfo 98.9 99.5 100 Julio 78.1 90 89 Pedro 100 100 100 Maria 99 99.8 90 Arrays: Stedet w Name Nam Student Nunc Stea Name Nam Studel 4 Name Student Cle Street Gude: Student) Grade Sende Suudal + Code! Student 1 Orati ST Streert Grade 2 Student 3 Gratia Sludmi 4 Grade 2 Student Grade 3 Shadet Gde Suudi وزی Suudal + Grade SUB 12 750 Crocus 1:51 PM 76'F Mostly cloudy241/18/2001 A Type here to search O E a w

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:00, lovebug3563
Chloe is building a kiosk-based excel application. she wants to make some modifications to the screen elements in order to keep users from being distracted by parts of the application that are irrelevant to her application. she turns to henry for guidance as she knows he built a similar solution earlier this year. chloe has decided to hide the worksheet gridlines and the vertical scroll bar. what does henry tell her to use to do this? a) screen elements dialog boxb) display options dialog boxc) customization dialog boxd) excel options dialog box
Answers: 2
image
Computers and Technology, 22.06.2019 20:00, Jana1517
What is the worst-case complexity of the maxrepeats function? assume that the longest string in the names array is at most 25 characters wide (i. e., string comparison can be treated as o( class namecounter { private: int* counts; int nc; string* names; int nn; public: namecounter (int ncounts, int nnames); int maxrepeats() const; }; int namecounter: : maxrepeats () { int maxcount = 0; for (int i = 0; i < nc; ++i) { int count = 1; for (int j = i+1; j < nc; ++j) { if (names[i] == names[j]) ++count; } maxcount = max(count, maxcount); } return maxcount; }
Answers: 3
image
Computers and Technology, 22.06.2019 22:00, mrnotsosmart744
Discuss the ways in which electronic information associated with payments is addressed in terms of security. include encryption, secure sockets layers, and secure electronic transactions in your discussion. are there any other ways that consumers and businesses can keep their payment information secure in an electronic commerce environment? do you feel that your information is safe when conducting electronic business? why or why not?
Answers: 1
image
Computers and Technology, 23.06.2019 17:00, solizpaco7124
1. which of the following is not an example of an objective question? a. multiple choice. b. essay. c. true/false. d. matching 2. why is it important to recognize the key word in the essay question? a. it will provide the answer to the essay. b. it will show you a friend's answer. c. it will provide you time to look for the answer. d. it will guide you on which kind of answer is required.
Answers: 1
You know the right answer?
It is the year 2067. Quantum Space Inc. has grown so much that it cannot find enough scientists and...

Questions in other subjects:

Konu
Geography, 27.10.2020 06:30
Konu
English, 27.10.2020 06:30