Define the ten member functions for the following class University:
class University {
public: University(); // Sets string member variables to "NA" and zip to 0.
void Print(); // Prints all member variables.
string GetName();
string GetCity();
string GetState();
int GetZip();
void SetName(string nameIn);
void SetCity(string cityIn);
void SetState(string stateIn);
void SetZip(int zipIn);
private:
string name;
string city;
string state;
int zip;
};

Answers

Answer 1

The class University has ten member functions, including the constructor.

Here is a brief explanation of each function:
1. University() - This is the constructor that sets the string member variables to "NA" and the integer variable zip to 0.
2. Print() - This function prints all the member variables of the University object.
3. GetName() - This function returns the name of the University object as a string.
4. GetCity() - This function returns the city where the University object is located as a string.
5. GetState() - This function returns the state where the University object is located as a string.
6. GetZip() - This function returns the zip code where the University object is located as an integer.
7. SetName(string nameIn) - This function sets the name of the University object to the value of the parameter nameIn.
8. SetCity(string cityIn) - This function sets the city of the University object to the value of the parameter cityIn.
9. SetState(string stateIn) - This function sets the state of the University object to the value of the parameter stateIn.
10. SetZip(int zipIn) - This function sets the zip code of the University object to the value of the parameter zipIn.
Overall, these member functions provide ways to get and set the information about a University object, as well as print out its information.

Learn more about string :

https://brainly.com/question/30099412

#SPJ11

Answer 2

To define the ten member functions for the class University, the ten member functions for the University class is given below.

What is the member functions?

The default constructor within the code for the University class assigns the values "NA" to the name, city, and state member variables, and sets the zip variable to 0.

The member variables can be printed using the Print() function. The member variables' values can be obtained by using getter functions such as GetName(), GetCity(), GetState(), and GetZip(). To assign values to the member variables, the Setter functions (SetName(), SetCity(), SetState(), SetZip()) are employed.

Learn more about class   from

https://brainly.com/question/29463051

#SPJ1

Define The Ten Member Functions For The Following Class University:class University {public: University();
Define The Ten Member Functions For The Following Class University:class University {public: University();

Related Questions

a. Calculate the equivalent resistance of the circuit

Answers

Answer:

no any think photo.

Explanation:

A handsfree device may be used if it can be activated or deactivate with a?

Answers

A handsfree device may be used if it can be activated or deactivate with a cellphone.

What is hands-free?

Handsfree is a device which when connected to a cell device can be used in listening to audio, video and messages.

A driver can also activate or deactivate with a swipe when connect to the vehicle audio device.

Therefore,

A handsfree device may be used if it can be activated or deactivate with a cellphone.

Learn more on handsfree below

https://brainly.com/question/12253610

#SPJ1

The only difference between all GMA welding machines and some FCA welding machines is that all GMA welding machines must have a ______________.

Answers

Answer: Shielding gas solenoid

Explanation:

Vivian's Violins has sales of $326,000, contribution margin of $184,000 and fixed costs total $85,000. Vivian's Violins net operating income is Blank______. Multiple choice question. $241,000 $57,000 $99,000

Answers

Based on the calculations, Vivian's Violins net operating income is equal to: D. $99,000.

How to calculate net operating income?

Mathematically, the net operating income of an individual or business firm can be calculated by using this formula:

Net operating income = Contribution margin - Total fixed costs

Given the following data:

Sales = $326,000Contribution margin = $184,000Fixed costs total $85,000

Substituting the given parameters into the formula, we have;

Net operating income = $184,000 - $85,000

Net operating income = $99,000.

Read more on net operating income here: https://brainly.com/question/24165947

#SPJ1

An important difference between expressways and freeways is that expressways feature intersections, whereas freeways use: a) interchanges b) medians c) rumble strips d) green guide signs

Answers

An important difference between expressways and freeways is that expressways feature intersections, whereas freeways use a) interchanges.

A light weight vehicle traveling 50 mph can stop in approximately
a. 200 meters.
b. 5 blocks.
c. 200 feet.
d. 6 seconds.

Answers

A light weight vehicle traveling 50 mph can stop in approximately 200 feet.

How a car break works?

The break system of a car is composed by several items that are always working together to slow down and bring a vehicle to a complete stop. It also has the function of keeping the car stationary when it is parked. In general, this system has two manual activation modes: the lever and the pedal, with the exception of vehicles adapted for people with disabilities.

Most vehicles today use the disc brake system. Disc brakes work by using pads, which are held inside a hydraulic caliper, receiving pressure to brake. Such pads generate friction on a disc, which makes the vehicle stop permanently.

The drum brake is another type, being older and dependent on the famous linings to cause friction in the wheel and stop the vehicle. A hydraulic cylinder makes the plies move inside the drum, which is a hollow part fastened with screws and attached to the wheels. This type of brake is on the rear wheels, for the most common models.

See more about engineering at: brainly.com/question/19117846

#SPJ1

The lights on your vehicle must be turned on at any time, day or night, when persons and vehicles cannot be clearly seen for ___ feet.

Answers

Answer:

500 feet

Explanation:

In order to stop or turn your vehicle around on the highway you must have 500 feet of clear road in both directions. 4. Headlights are required at any time you cannot see persons or vehicles for 500 feet, due to snow, dust, fog, etc. and from ½ after sunset to ½ before sunrise.Hope this helps

The lights on your vehicle must be turned on at any time, day or night, when persons and vehicles cannot be clearly seen for 1000 feet.

What are vehicles?

A vehicle is a piece of equipment, typically with wheels and an engine, used for land-based transportation of people or goods. Cars, buses, and trucks are examples of road vehicles. Farm vehicles include tractors.

Vehicle type refers to a group of power-driven vehicles that share all crucial aspects of their engines, cars, and OBD systems.

When a vehicle is 500 feet away, the driver must dim his headlights.

Avoid looking directly into the light when a car is coming at you; instead, slow down. At least 30 minutes before dusk, headlights must be activated. It is also important to keep in mind that a lower headlight beam improves the driver's ability to see in fog.

Thus, it should be 1000 feet distance.

For more details regarding vehicles, visit:

https://brainly.com/question/29491014

#SPJ2

In 2001, a land-development company launched an engineering project on land adjacent to a protected wetlands area

Answers

The statement that summarizes the data is that the population data should be collected over a much lingers period of time in order to draw a valid conclusion.

What is data?

It should be noted that data simply means the facts or statistics that are put together to get more information about a particular issue.

It should be noted that a project simony refers to an individual or collaborative enterprise which is planned in order to achieve a particular aim. In this case, the land-development company launched an engineering project on land adjacent to a protected wetlands area.

It should be noted that the time frame that the data was collected matters a lot in order to get a valid conclusion.

In this case, the statement that summarizes the data is that the population data should be collected over a much lingers period of time in order to draw a valid conclusion.

Learn more about data on:

brainly.com/question/4219149

#SPJ1

The options to the question:

a. The data Gail to represent a broad diversity of species and so do not provide enough information to adequately draw a conclusion.

b. Population data were not sampled frequently enough to draw a valid conclusion.

c. The data show stable population trends in native species providing evidence that the engineering project has no negative impact on the ecosystem.

d. The population data should be collected over a much lingers period of time in order to draw a valid conclusion.

Which load balancing method is supported in equal cost multipath (ECMP) load balancing when SD-WAN is enabled

Answers

Volume load balancing method is supported in equal cost multipath (ECMP) load balancing when SD-WAN is enabled.

What is load balancing method?

Load balancing means are regarded as a form of an algorithms or method that is used to rightly share an incoming server request or traffic in the midst or among servers that is from the server pool.

Note that Volume load balancing method is supported in equal cost multipath (ECMP) load balancing when SD-WAN is enabled as that is its role.

Learn more about Volume load balancing from

https://brainly.com/question/28021339

#SPJ1

Determine the carburizing time necessary to achieve a carbon concentration of 0.30 wt.% at a position of 4 mm into an iron-carbon alloy that initially contains 0.10 wt.% C. The surface concentration is to be maintained at 0.90 wt.% C, and the treatment is to be conducted at C. Use the diffusion data for -Fe in Table 5.2

Answers

The carburizing time necessary to achieve a carbon concentration is 31.35 hours

How to find the Carburizing Time?

To determine the carburizing time necessary to achieve the given carbon concentration, we will use the equation:

(Cs - Cx)/(Cs - C0) = ERF(x/2√Dt)

where;

Cs is Concentration of carbon at surface = 0.90

Cx is Concentration of carbon at distance x = 0.30

Distance x = 4 mm = 0.004 m

C0 is Initial concentration of carbon = 0.10

ERF() = Error function at the given value

D = Diffusion of Carbon into steel

t = Time necessary to achieve given carbon concentration ,

Thus, plugging in the relevant values gives;

(Cs - Cx)/(Cs - C0) = (0.9 - 0.3)/(0.9 - 0.1)

= 0.6/0.8 = 0.75

now, ERF(z) = 0.75 and as such using ERF table, we can say that;

Z = 0.814. Thus;

(x/2√Dt) = 0.81

Using the table of diffusion data, we have;

At a temperature of  (1100°C) or 1373 K, we have;

D = 5.35 × 10⁻¹¹ m²/sec.

Calculating the carbonizing time by using the equation z = (x/2√Dt);

where;

t is carbonizing time

Thus;

0.814 = (0.004/(2 × √5.35 × 10⁻¹¹ × √t))

0.814 = 0.004 /(1.4628 × 10⁻⁵ × √t)

0.814 × 1.4628 × 10⁻⁵ × √t = 0.004

1.19072 × 10⁻⁵ × √t = 0.004  

√t = 0.004/(1.19072 × 10⁻⁵)

√t = 335.93

t = 112848.96 seconds

Converting to hours gives;

t = 112848.96/3600

t = 31.35 hours

Therefore, the carburizing time necessary to achieve a carbon concentration is 31.35 hours

Read more about Carburizing Time at; https://brainly.com/question/13031810

#SPJ1

based on the graph shown, for any given output level, the veritcal distance between the avc and the atc curves represents

Answers

A a result of the graph shown, for any given output level, the veritcal distance between the avc and the atc curves represents total fixed cost (TFC).

What is Vertical distance?

This is known as vertical separation and it is said to be the distance that exist between two vertical positions.

Note that vertical coordinates are seen for expressing vertical position: depth, and others and as such,

See full question below

The vertical distance between the ATC and AVC curve represents

a) marginal cost (MC)

b) average fixed cost (AFC)

c) total fixed cost (TFC)

d) total cost (TC) - total variable cost (TVC)

Learn more about from

https://brainly.com/question/210650

#SPJ1

When passing another car, make sure you maintain at least a _______ safety cushion

Answers

The answer is 4 because I just took the test!

Modern aircraft are designed in a way that, when all seats are occupied, the baggage compartment is full, and all fuel tanks are full, the aircraft is:

Answers

Modern aircraft are designed in a way that, when all seats are occupied and baggage is full, and all fuel tanks are full, the aircraft is overloaded.

What is aircraft storage?

Aircraft storage refers to all storage systems in an aircraft for human transportation and also to transport products among countries.

The aircraft storage system is well calculated to work is a maximum capacity in commercial fly lines.

In conclusion, modern aircraft are designed in a way that, when all seats are occupied and baggage is full, and all fuel tanks are full, the aircraft is overloaded.

Learn more about storage systems here:

https://brainly.com/question/9585033

#SPJ1

Write a class having two private variables and one-member function which will return the area of the rectangle.

Answers

Using the knowledge in computational language in C++ it is possible to write the code being write a class having two private variables

Writting the code in C++:

#include <iostream>

using namespace std;

class Rectangle { /*create a class named Rectangle*/

  private:

  float l,b; /*this class has two private variables l and b*/

  public:

  float getArea(float l, float b) /*this class has one member-function getArea which returns the area of the rectangle*/

  {

   return l*b; /*return the area of the rectangle*/

  }

};

int main () { /*the main function to check the working of our Rectangle class*/

 float l,b;

 Rectangle r1; /*create an object r1 of Rectangle class*/

 cout<<"Enter the length of the rectangle: ";

 cin>>l; /*input the length of the rectangle from the user*/

 cout<<"Enter the breadth of the rectangle: ";

 cin>>b; /*input the breadth of the rectangle from the user*/

 cout <<"Area of the rectangle is: "<< r1.getArea(l,b)<<" square units."; /*find the area of the rectangle using the member function of the class*/

 return 0;

}

See more about C++ at brainly.com/question/19705654

#SPJ1

Someone claims that the volume flow rate in a circular pipe with laminar flow can be determined by measuring the velocity at the centerline in the fully developed region, multiplying it by the cross-sectional area, and dividing the result by 2. Do you agree

Answers

The answer is 6 because I just took the test!

If extension done in a stork position, during backward bending in a standing position of a special test for lumbar spine, produces pain in the lumbar or sacral regions of the spine, it may indicate _____.

Answers

The answer is 7 because I just took the test!

Soru No 3
If you
Açık Öğretim Kurumlan Online Sınavı 300095
say
Bu cümlede boş
hangisi
Bu cümlede boş b/40
crijnilmelidir?
or
with someone in a conversation, you
cilindl3p4facvmyzzy2 on, you
yere seçeneklerden
hekle
indl 3p4jacymyzzxkm2ku2140
A) I'd exactly say the opposite
B) I am sorry for interrupting
C) You have a point there
ku2140
D) Never in a million years
Bu soruyu boş bırakmak istiyorum
p4facvmy
crimd13p4facy

Answers

D) Never in a million years

An isolation transformer whose main purpose is to reduce voltage spikes will have a turns ratio of?

Answers

Answer:

An isolation transformer whose main purpose is to reduce voltage spikes will have a turns ratio of 1 to 1.

This is due to the windings input and output having the same waveform and amplitude.

Through Engineering, human achievement continues to advance. Write about your favorite example of engineering in action and what impresses you about it from an Engineering standpoint.

Answers

Hydroelectric power plants are outstanding engineering devices that allow people to obtain energy from renewable sources.

What is a hydroelectric power plant?

A hydroelectric power plant is a center for the production of electricity based on hydropower energy systems.

Hydroelectric power plants exploit the energy of water masses (e.g., a stream) to produce clean energy for million of people around the world.

These plants have generators capable of converting mechanical energy  into electricity by using simple turbines.

In conclusion, hydroelectric power plants are outstanding engineering devices that allow people to obtain energy from renewable sources.

Learn more about Hydroelectric power plants here:

https://brainly.com/question/8934285

#SPJ1

To put out a class D metal fire, you must _______ the fire.

Answers

To put out a class D metal fire, you must smother the fire and eliminate the oxygen element in the fire.

What is a Class D fire?

A class D fire is a type of fire that cannot be extinguished by water. This is because adding water to it reacts with other elements in the fire intensifying the fire even more.

Smothering in this context involves adding a solution like carbon dioxide (CO2) into the fire, this results in a reduction of oxygen in the atmosphere surrounding the class D fire.

By so doing, smothering the fire eliminates the oxygen element in the fire, thereby extinguishing the fire.

You can learn more about extinguishing fires here https://brainly.in/question/760550

#SPJ1

What is the mode of operation of a ramp digital voltimeter​

Answers

Answer:

The operating principle of a ramp type digital voltmeter is to measure the time that a linear ramp voltage takes to change from level of input voltage to zero voltage (or vice versa).

Metal wireways are sheet metal troughs with _____________ for housing and protecting electrical conductors and cable.

Answers

Answer:

Metal wireways are sheet metal "U"s with removable housing for protecting electrical equipment, wires, and cables.

Explanation:

These are especially used to run wire in manufacturing environments.

Manual transmission has a driver-operated clutch and a movable gear selector. In manual transmission, the gears are engaged .....................

Answers

In the case above about manual transmission, the gears are engaged manually.

What is manual transmission?

The Definition of the term manual transmission is regarded as a kind of a system where there is the changing gears in a manual way.

Hence, In the case above about manual transmission, the gears are engaged manually is correct.

Learn more about Manual transmission from

https://brainly.com/question/14392283

#SPJ1

Structural Safety Assessment and Traffic Control Strategies of Widened Highway Bridges under Maintenance Works Requiring Partial Lane Closure

Answers

Structural Safety Assessment and Traffic Control Strategies of Widened Highway Bridges under Maintenance Works Requiring Partial Lane Closure journal is based on the  way and techniques that can be used in maintaining  the Safety on the road as well as the Assessment of Traffic Control.

What are the techniques in controlling the traffic?

There are Devices that are typically used in the traffic control, and this can  include speed bumps as well as the barricades to block streets.

Others techniques are:

turn prohibitions stop signs raised pavement markers.

Traffic restraint can also entails the includes programs  that can foster bicycle as well as the pedestrian travel.

The rapid structural safety assessment help in inspecting and evaluating the concrete structure as well in determining  the damaged structure if it is  unsafe for personnel within the building .

Learn more about Traffic Control at:

https://brainly.com/question/26052026

#SPJ1

Which is not one of the primary characteristic of unit testing:

Answers

Answer:

Unit testing is a software development process in which the smallest testable parts of an application, called units, are individually and independently scrutinized for proper operation. This testing methodology is done during the development process by the software developers and sometimes QA staff. The main objective of unit testing is to isolate written code to test and determine if it works as intended.

Unit testing is an important step in the development process, because if done correctly, it can help detect early flaws in code which may be more difficult to find in later testing stages.

Unit testing is a component of test-driven development (TDD), a pragmatic methodology that takes a meticulous approach to building a product by means of continual testing and revision. This testing method is also the first level of software testing, which is performed before other testing methods such as integration testing. Unit tests are typically isolated to ensure a unit does not rely on any external code or functions. Testing can be done manually but is often automated. It might be helpful

How are new slip rings attached to the rotor core during alternator rebuilding?

Answers

The new slip rings is been  attached to the rotor core during alternator rebuilding by b. Soldered on.

What is the process of Soldering ?

Soldering  is the use of Solder which is a metal alloy  consisting tin and lead and is the way of joining  different types of metals together by melting solder.

This is been used on new slip rings to get it  attached to the rotor core during alternator rebuilding .

Learn more about Soldering on:

https://brainly.com/question/25759088

#SPJ1

CHECK THE COMPLETE QUESTION BELOW:

How are new slip rings attached to the rotor core during alternator rebuilding?

a. Machine clamped

b. Soldered on

c. Crimped on

d. epoxy glue

P=3000W
f1=0.9
f2=0.5
A=15mm2
travel speed=?

Answers

The Travel Speed at which the welding operation can be accomplished is given as 7.147mm/s. See the computation below.

What is travel speed?

The travel speed of the welding flame or gun across the workpiece is simply measured in millimeters per minute.

Travel speed, along with voltage and amperage, is one of three factors in arc welding that affect the amount of heat input.

What is the calculation that justifies the above answer is?

We are given the following:


Melting temperature = 1650 K

k = (3.33 * 10⁻⁶) * (1,650)²

k = 9.066 J/mm^3

The formula for velocity here is given as:

V = f1 * f2 * Rh / (k*A)

V = 0.9 * 0.6 * 3000 / (9.066*25)

V = 7.147 mm/s

Hence, the Travel Speed at which the welding operation can be accomplished is given as 7.147mm/s.

Learn more about welding operation at;
https://brainly.com/question/22494632
#SPJ1

Technician A says that a voltage drop on the ground side of a bulb won’t affect its brightness because the electricity has already been used up. Technician B says that a voltage drop is one way to determine if there is unwanted resistance in a circuit. Who is correct?

Answers

Answer:

  Technician B

Explanation:

For a given circuit current, the voltage drop is an indication of the resistance in the circuit.

If the voltage drop on the ground side of a bulb is unexpectedly high, it means the circuit resistance is unexpectedly high. Technician B is correct.

The advantage of using a reference line to position a building is that

Answers

Answer:

The reference line helps you achieve the precise connection of Walls for clean intersections.

Explanation:

Reference Lines allow you to place lines on the plot at specific locations to mark important values. You could use these to mark control limits or to indicate a trend line for a set of data.

what is the basic concept of the finite element method.​

Answers

Answer:

The FEM is a general numerical method for solving partial differential equations in two or three space variables (i.e., some boundary value problems). To solve a problem, the FEM subdivides a large system into smaller, simpler parts that are called finite elements.

Other Questions
Describe your historical and current element in detail.Use complete sentences in your responses.. Use academic vocabulary in your responses.. Tell me where you got your information from Enter your answer and show all the steps that you use to solve this problem in the space provided. What is the result when 2 x 3 9 x 2 + 11 x 6 2 x 3 - 9 x 2 + 11 x - 6 is divided by x 3 x 3 ? Show your work. 3/7 of 7//1 can please explain this to evaluate function expressions A woodpecker can live 27 years, a swallow 3 times less, and a crow lives 45 years longer than a swallow. How many years can a crow live? Why must a conference committee meet on a compromise bill? Debugging Exercise 3-1 | Instructions DebugThree1. 1 // This class calculates a waitperson's tip as 15% of the bill 2 public class DebugThree1 The files provided in the code editor to the right contain syntax and/or logic errors. In each case, determine and fix the problem, public static void main(String args]) remove all syntax and coding errors, and double myCheck50. 90 double yourCheck19. 95 System. Out. Println("Tips are") calcTip(nyCheck); calctip(yourcheck); run the program to ensure it works properly 7 GRADING Write your Java code in the coding area on the right. Use the Run Code button to execute and run the code and the Test button to run a series of pre-configured tests against your project. 10 public void calcTip (double bill) 12 13 14 15 16 17 18 19 20 final double RATE = . 15; double tip; tip checkRATE; System. Out. Println("The tip should be at Least "tip); Once you are happy with the test results, click Grade to submit your project for grading Write a system of equations for the coefficients of a polynomial of degree 2 that passes through (1, - 2), (- 2, 7) and (- 5, - 2) Solve the system. Complete the sentence. Lobbyists of ______________ use access to political leaders and other federal members to attempt to influence environmental policy. the courts Congress interest groups the presidency Identify the slope, and y -intercepts and graph the linear equation.4. y=1-35. 5x +3y = 156. y = 3 identify tamerlane (timur the lame) and the cultures he was connected to. describe his methods of spreading his territory and at least two ways he maintained power (pages 146-147, paragraph that starts on 146 and ends at the top of 147). How much deduction is allowed in income tax? Myra blended 24 oz of orange sherbet when making 5/8 of smoothie. How many ounces of orange sherbet are needed for one batch? he image below shows the body being cut along what plane? Image of the brain being cut vertically, divided into left and right portions. Image Courtesy of 3DScience.com Frontal Oblique Sagittal Transverse when a firm creates a global web of value creation activities, the company disperses different stages of the value chain to those locations in the world where perceived value is maximized or where the costs of value creation are minimized. !PLEASE HELP! 35 POINTS! How does the total amount of work used to move a storage box 10 meters across the floor with a force of 20-N compare to moving the same storage box 8 meters with the same amount of force?How much work is required to move each box? How do those numbers compare with one another? Which requires more work? 1. How do these abolitionists differ in their tactics against slavery?2. Which of these tactics do you believe are the most effective for the long term? Why? Create a short story setting with these five sections: Time, Place, Social and political environment, Mood and weather. Each section should have at least two sentences. While owning stocks can create strong profits for investors, what makes buying stocks riskier than buying bonds ? A carboy is a container that would MOST likely be used to store and transport