subject

Assume the declarations of exercise 2. write c++ statements that do the following:

store the following information in course:
name: programming i
callnum: 13452
credits: 3
grade: ""

in the array classlist, initialize each gpa to 0.0.

copy the information of the thirty-first component of the array classlist into student.

update the gpa of the tenth student in the array classlist by adding 0.75 to its previous value.

the excercise 2 structs are this:

struct nametype struct coursetype struct studenttype
{ { {
string first; string name;
string last; int callnum; nametype name;
}; int callnum; double gpa;
int credits; coursetype course;
char grade; };
};

the program i wrote is this:

//taylor wyss

//11/21/2017

//csc160c11

#include

#include

using namespace std;

struct nametype

{

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Where would you click to edit the chart data?
Answers: 1
question
Computers and Technology, 22.06.2019 20:40
Assume that there is a 4% rate of disk drive failure in a year. a. if all your computer data is stored on a hard disk drive with a copy stored on a second hard disk drive, what is the probability that during a year, you can avoid catastrophe with at least one working drive? b. if copies of all your computer data are stored on three independent hard disk drives, what is the probability that during a year, you can avoid catastrophe with at least one working drive?
Answers: 1
question
Computers and Technology, 23.06.2019 00:10
My has been slow anyone else’s ?
Answers: 1
question
Computers and Technology, 23.06.2019 04:00
Write a method that takes in an array of point2d objects, and then analyzes the dataset to find points that are close together. be sure to review the point2d api. in your method, if the distance between any pair of points is less than 10, display the distance and the (x,y)s of each point. for example, "the distance between (3,5) and (8,9) is 6.40312." the complete api for the point2d adt may be viewed at ~pf/sedgewick-wayne/algs4/documentation/point2d.html (links to an external site.)links to an external site.. try to write your program directly from the api - do not review the adt's source code.
Answers: 1
You know the right answer?
Assume the declarations of exercise 2. write c++ statements that do the following:

stor...
Questions
question
Mathematics, 14.01.2021 04:30
question
Health, 14.01.2021 04:30
question
English, 14.01.2021 04:30
question
Mathematics, 14.01.2021 04:30
question
Chemistry, 14.01.2021 04:30