1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
nirvana33 [79]
3 years ago
9

In c++

Computers and Technology
1 answer:
Elodia [21]3 years ago
5 0

Answer:

class studentType: public personType

{

public:

virtual void print() = 0;

virtual void calculateGPA() = 0;

void setID(long id) {

studentId = id;

}

void setCourses(const string c[], int noOfC) {

noOfCourses = noOfC;

for (int i=0; i<noOfCourses; i++) {

courses[i] = c[i];

}

}

void setGrades(const char cG[], int noOfC) {

noOfCourses = noOfC;

for (int i=0; i<noOfCourses; i++) {

coursesGrade[i] = cG[i];

}

}

long getID() {

return studentId;

}

string* getCourses() {

return courses;

}

char* getGrades() {

return coursesGrade;

}

studentType(string fName = "", string lastName = "",

long id = 0, string c[] = NULL, char cG[] = NULL, int noOfC = 0);

private:

long studentId;

string courses[6];

char coursesGrade[6];

int noOfCourses;

};

Explanation:

Code rewritten

You might be interested in
The java class library interface queue method tagg retrieves the entey at the front of a queue but themrows a NosuchElementExcep
SCORPION-xisa [38]

Answer:D) peek

Explanation:Peek operation or function is the method that is used for the returning of the values on the front of the queue or stack type datatypes.               This operation function over those datatypes having group or collection of the elements and does not eliminate any element from the queue.

NOsuchElemnet exception is shown when there is the peek operation in the queue for the element to be displayed on the top and no deletion can take place .Thus, the correct option is option(D).

5 0
3 years ago
Which of the following is considered a benefit of using simulation programs? a. They allow users to experience potentially dange
erica [24]

Answer:

All of the above

Explanation:

7 0
3 years ago
What were second generation languages that required detailed knowledge of the computer's hardware and a lot of spare time to wri
Natalija [7]

Answer:

Assembly language is also known as second generation language. We can also say it low level language. To implement assembly language on hardware it require a lot of knowledge of computer hardware.

Mostly assembly language is used in Kernel and hardware drives like RAM or ROM these hardware parts belong to second generation. So, assembly language require a lot of knowledge of hardware as well spare time also to write it to get desired output from the hardware.

Assembly language is also used in video editing and video games and require a lot of time.

I hope it will help you!

4 0
3 years ago
_____ targeting techniques increase the effectiveness of banners, rich media, and video ads.
Delvig [45]

Banner, rich media, and video ad effectiveness is increased through behavioral targeting strategies.

<h3>What are Behavioral targeting techniques?</h3>
  • A marketing strategy called "behavioral targeting" makes use of data about web users to enhance advertising campaigns.
  • The method entails obtaining information on a potential customer's web browsing and purchasing habits from a range of sources.
  • In order to assess which advertisements and messages will be most effective with a certain audience, behavioral targeting is used.
  • To launch personalized marketing, it makes use of behavioral data, such as what users do or don't do in your app, on your website, or with your campaigns.
  • An illustration of behavioral targeting would be if a customer frequently visited a website with evaluations of thermometers for home use or conducted a search for thermometers, then went to a website for the producer of thermometers.

To learn more about  Behavioral targeting techniques, refer to:

brainly.com/question/28025161

#SPJ4

4 0
2 years ago
The most important source of income on the Galápagos Islands is also a potential threat to diversity. What is it?
Lapatulllka [165]
How would the War Powers Act have impacted President Truman's initial ability to deploy US soldiers into the Korean War?

A. It would have granted him more power to use US forces.
B. It would have allowed US forces to fight only under the United Nations.
C. It would have forced him to seek Congress's approval for US involvement.
D. It would have prevented him from approving the Bay of Pigs invasion.
4 0
3 years ago
Other questions:
  • When a relationship is established between two or more arrays by using the same subscript to relate entries between the arrays,
    14·2 answers
  • Write the addReview method, which adds a single product review, represented by a ProductReview object, to the ReviewCollector ob
    14·1 answer
  • Which of the following is a template definition?
    5·1 answer
  • List 5 different programming languages calls to print
    8·2 answers
  • Why is it a good idea to leave an interview being courteous and polite?
    10·1 answer
  • First write a method to calculate the greatest common divisor (GCD) of two positive integers using Euclid’s algorithm (also know
    10·1 answer
  • Your company's data center has suffered a recent power outage, and corporate applications were unavailable for two days. You hav
    11·1 answer
  • Myles is studying a system to lessen the number of complaints about the Help Desk. He has formally studied the service counter a
    5·1 answer
  • Which terms means device that converts one voltage to another ?
    15·1 answer
  • Fill in the word to complete the sentence.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!