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

Your final project will consist of creating a t.u.t.o.r.i.a.l for your classmate

ID: 3858390 • Letter: Y

Question

Your final project will consist of creating a t.u.t.o.r.i.a.l for your classmates. It will be on how to install a cars seat, but include five major competencies of this course.

The preferences are you demonstrate a working knowledge of control structures, error handling, classes, methods, recursion, and array processing.

This project will consist of two parts. The two parts will be a working program to show your classmates and a written t.u.t.o.r.i.a.l that covers the usage/creation of the program.

below is the rubric:

Working application with the following:

Five major competencies clearly demonstrated and shown in the comments

The application is flawless (25 Points)

The commenting is complete and professionally done (25 Points)

The program is easy to use, or there are clear instructions covering how to use
the program. Points will be deducted if the instructor must ask for additional information
on how to run the program (50 Points).

The lesson you write will include the following (100 points):

The lesson will cover the program written. The program and the lesson should be
well matched

The operating instructions for the program will be in the lesson

The lesson will be clear and polished.

The lesson should be a minimum of 3 pages long, double-spaced 12 point font.

The lesson will completely and clearly explain the program. The target audience of this
program is your classmates, so the average student at the end of this course should be
able to recreate the program you wrote and understand the program.

The program you write and the documentation you provide will be treated as a freeware
product. Your instructor may freely share the program and the documentation with others
but may not profit financially from the programs the students write. The instructor reserves
the right to use the program, in part or whole, with other students, faculty, or staff.

Task Points Five major competencies demonstrated 75

Working application with the following:

Five major competencies clearly demonstrated and shown in the comments

The application is flawless (25 Points)

The commenting is complete and professionally done (25 Points)

The program is easy to use, or there are clear instructions covering how to use
the program. Points will be deducted if the instructor must ask for additional information
on how to run the program (50 Points).

The lesson you write will include the following (100 points):

The lesson will cover the program written. The program and the lesson should be
well matched

The operating instructions for the program will be in the lesson

The lesson will be clear and polished.

The lesson should be a minimum of 3 pages long, double-spaced 12 point font.

The lesson will completely and clearly explain the program. The target audience of this
program is your classmates, so the average student at the end of this course should be
able to recreate the program you wrote and understand the program.

The program you write and the documentation you provide will be treated as a freeware
product. Your instructor may freely share the program and the documentation with others
but may not profit financially from the programs the students write. The instructor reserves
the right to use the program, in part or whole, with other students, faculty, or staff.

Explanation / Answer

Description:

In the below C++ program, we are using

1. The concepts of the Files to the data from the input and store it in a file

2. Reading a string array names using keyboard

3. Implemented the arrays concept

4.Used the recursion function to find the average of the student.

C++ Program

#include<iostream>

#include<fstream>

#include<string>

using namespace std;

class Student

{

public:

string studentName[2];

int marks[2];

int grades[5];

const int size=2;

int debug=size;

ifstream infile;

void WriteData()

{

infile.open("input.txt");

while(size==debug)

{

for(int i=0;i<size;i++)

{

cout<<"Enter A Student Name ";

cin>>studentName[i];

infile>>studentName[i];

cout<<" Enter Marks ";

cin>>marks[i];

infile>>marks[i];

}

debug--;

}

}

double Average(int numeros[], int i, int n) {

if (i == n - 1) {

return numeros[i];

}

if (i == 0)

return ((numeros[i] + Average(numeros, i + 1, n)) / n);

else

return (numeros[i] + Average(numeros, i + 1, n));

}

void DisplayData()

{

double avg=Average(marks,0,2);

cout<<" Student Info";

for(int i=0;i<size;i++)

{

cout<<"Student Name is "<<studentName[i];

cout<<" Marks "<<marks[i];

cout<<" ";

}

cout<<"Average Marks of the student is "<<avg;

}

};

int main()

{

Student obj;

obj.WriteData();

obj.DisplayData();

return 0;

}

Output:

Enter A Student Name

Rajesh

Enter Marks

40

Enter A Student Name

Ramu

Enter Marks 30

Student Info

Student Name is Rajesh Marks 40

Student Name is Ramu Marks 30

Average Marks of the student is 35

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