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
kotegsom [21]
3 years ago
13

std::string x[n]; int mode1count = 0; // msft int mode2count = 0; // appl int mode3count = 0; // csco int mode4count = 0; // imb

int i; for(i = 0; i < n; ++i) // Set the array of strings x[i] = modeList[i]; for(i = 0; i < n; ++i) { if(x[i] == "msft") ++mode1count; else if(x[i] == "appl") ++mode2count; else if(x[i] == "csco") ++mode3count; else if(x[i] == "imb") ++mode4count; }
Engineering
1 answer:
rosijanka [135]3 years ago
7 0

Answer:

std::string x[n];

int mode1count = 0; // msft

int mode2count = 0; // appl

int mode3count = 0; // csco

int mode4count = 0; // imb

int i;

for(i = 0; i < n; ++i) // Set the array of strings

x[i] = modeList[i];

for(i = 0; i < n; ++i)

{

if(x[i] == "msft")

++mode1count;

else if(x[i] == "appl")

++mode2count;

else if(x[i] == "csco")

++mode3count;

else if(x[i] == "imb")

++mode4count;

}

Explanation:

It is important to ensure that there is adequate space and necessary punctuation when developing codes and programming to avoid getting error messages when running the codes. In this problem, the codes required are shown in the answer section. The codes are properly writing and arranged.

You might be interested in
Which items are NOT found on a
Alja [10]

Answer:

None of the above cause thats what i put

3 0
3 years ago
does anyone know how to get into an iPhone with an apple ID and password i bought an iPhone 2nd hand and i cant get into the pho
ELEN [110]
ANSWER:
Your best bet would be to either contact apple support or to factory reset the iphone
5 0
3 years ago
Read 2 more answers
Consider a venture with a small hole drilled in the side of the throat. This hole is connected via a tube to a closed reservoir.
dangina [55]

Answer:

1913meter per second square.

Explanation:

From the Context the vacuum can be said be the presence of 5e difference below the outside ambient temperature.

For the Venturi.

Please go through the attached file for the rest of the solutions and the answer.

3 0
3 years ago
Match the test to the property it measures.
Vinvika [58]

Answer:

a. Rockwell              3. hardness

b. Instron                 2. stress vs strain

c. Charpy                 1. impact strength

d. Fatigue                4. Endurance Limit

e. Brinell                  3. hardness

f. Izod                      1. impact strength

Explanation:

Izod and Charpy are the impact strength testing procedure of a material in which a heavy hammer is attached to an arm is released to impact on the test specimen. In Izod test the specimen with v-notch is held vertical with the notch facing outward while in Charpy test the specimen is supported horizontally with notch facing inward to the impacting hammer.

Instron testing system does universal testing of the material which gradually applies the load recording all the stresses and the corresponding strains until the material fails.

Fatigue is the property of a material due to which it fails under the repeated cyclic loading by the initiation and propagation of cracks. The property of a material resist failure subjected to infinite number of repeated cyclic loads below a certain stress limit.

Rockwell and Brinell are the hardness testing methods. In Rockwell test an intender ball is firstly pressed against the specimen using minor load for a certain time and then a major load is pressed against it for a certain time. After the intender is removed the depth of impression on the surface is measured while in case of Brinell hardness we apply only one load against the intender ball for a certain time and after its removal the radius of impression is measured.

7 0
3 years ago
Design complementary static CMOS circuits with minimized number of transistors to realize the following Boolean functions (hint:
Pie

Answer:

as pull up network. the metteing point of pull down and pull up is the point where we take the output

note 1: if two n-mos are connected in series it gives logical AND and p-mos paralle gives logical-AND

note 2: if two n-mos are connected in parallel it gives logical OR and p-mos series gives logical-OR

note 3: output is always complement of what we implement

example Y= (AB)'

image attached

A) F = (ABC + D(A+B) )'

pulldown:

this can be realize by takeing three n-mos in series which gives ABC ,two n-mos are parallel which in series with another n-mos whic gives D(A+B), now connect ABC and D(A+B) in parallel

pull up

this can be realize by takeing three p-mos in parallel which gives ABC ,two p-mos are series which is in serires with

another p-mos whic gives D(A+B), now connect ABC and D(A+B) in series

the out put will be (ABC + D(A+B) )'

so we require total 6-mos and 6-pmos total 12mos transistors

B) F = AC + BD

pull down

this can be realize by takeing two n-mos in series which gives AB ,two n-mos are in series

which whic gives BD, now connect AC and BD in parallel

pull up

this can be realize by takeing two p-mos in parallel which gives Ac ,two p-mos are in parallel

which whic gives BD, now connect AC and BD in series

the output is (AC+BD)'

to avoid the complement we have to connect the output to c-mos inverter then we get AC+BD

so we require 5-nmos, 5-pmos total 10 mos transistors

8 0
3 years ago
Other questions:
  • An open glass tube is inserted into a pan of fresh water at 20 °C. What tube diameter is needed to make the height of capillary
    14·1 answer
  • This is an essential safety procedure that protects workers from injury while working on or near electrical circuits and equipme
    12·1 answer
  • What is measurement in term of electrical engineering ​
    5·1 answer
  • When will stemuless checks come I was told not to file my taxes because I get a pension check every month direct deposit money i
    9·1 answer
  • Suppose that the following eight jobs must be scheduled through a car repair facility (repair times are shown in days): Car Repa
    13·1 answer
  • When is a handrail required for stairs?
    11·1 answer
  • Manufacturers frequently make choices about their suppliers of raw materials based on their impact on society and the environmen
    5·1 answer
  • Determine the resolution of a manometer required to measure the velocity of air at 50 m/s using a pitot-static tube and a manome
    7·1 answer
  • Three ways to advertise for AVID
    8·2 answers
  • When an object is plumb, it is _____.
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!