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 20:30
In this lab, you complete a prewritten c program that calculates an employee’s productivity bonus and prints the employee’s name and bonus. bonuses are calculated based on an employee’s productivity score as shown below. a productivity score is calculated by first dividing an employee’s transactions dollar value by the number of transactions and then dividing the result by the number of shifts worked.
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
From excel to powerpoint, you can copy and paste a. cell ranges and charts, one at a time. b. cell ranges and charts, simultaneously. c. charts only. d. cell ranges only.
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut off on an hev are both colored orange
Answers: 1
question
Computers and Technology, 24.06.2019 08:50
Write a program that will compute the volume of ice cream served in a cone. as you can see in the diagram below, the ice cream is served as a hemisphere of frozen deliciousness on top of a cone, which is also packed with frozen deliciousness. thus, the total volume of ice cream sold is the volume of the hemisphere plus the volume of the cone. the example shows an ice cream cone in which the hemisphere and cone have a radius of 10 inches and the cone has a height of 15 inches. your program must instead prompt for these two values, which are taken from the keyboard as integers: • the hemisphere/cone radius in inches, and
Answers: 3
You know the right answer?
Assume the declarations of exercise 2. write c++ statements that do the following:

stor...
Questions
question
Mathematics, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
English, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
History, 13.09.2020 23:01
question
Physics, 13.09.2020 23:01
question
Social Studies, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
Health, 13.09.2020 23:01
question
Mathematics, 13.09.2020 23:01
question
Chemistry, 13.09.2020 23:01
question
Health, 13.09.2020 23:01
question
Chemistry, 13.09.2020 23:01
Questions on the website: 13722367