Write code for function which creates string array with room

Assignment Help Electrical Engineering
Reference no: EM13270703

Write a three function program. The main function must create a string array with room for 10 elements. The main function should call the second function passing it the array as the first argument and the size of the array as the second argument. The second function should get 8 names from the user and return the number of names to main. After the array is filled, main should call a third function passing it the array as the first argument and the value returned by function 2 as the second argument. The third function should display the names from the array on separate lines on the computer screen.

Reference no: EM13270703

Questions Cloud

What is the intensity of light from the sun on mars : The intensity of light from the sun is about 1000 W/m^2 on Earth. The distance between Mars, What is the intensity of light from the Sun on Mars
What is the intrinsic value of deployment specialists stock : what is the intrinsic value of Deployment Specialists stock? (Do not round intermediate calculations. Round your answer to 2 decimal places.)
Design a circuit that performs the function : The conveyor belt moves relatively slow therefore several seconds pass before the separator switches position. The piston moves two switches (N/A) when it is on position one or on position two. The control system requires a variable exit voltage b..
Calculate the net asset value per share on this day : Creviston Mutual Fund, a load fund, holds securities valued at $90,000,000 on August 30. The fund had liabilities of $2,000,000 and 4,800,000 shares outstanding. Calculate the net asset value per share on this day.
Write code for function which creates string array with room : Write a three function program. The main function must create a string array with room for 10 elements. The main function should call the second function passing it the array as the first argument and the size of the array as the second argument.
What is the dividend yield : The next dividend payment by Wyatt, Inc., will be $3.35 per share. The dividends are anticipated to maintain a growth rate of 7.50 percent, forever. Assume the stock currently sells for $50.30 per share.
Compute the number of moles of carbon dioxide : Calculate the number of moles of carbon dioxide formed if 231 grams of calcium carbonate decomposes. CaCO3(s) ? CaO(s)+CO2(g)
Obama pledge to take executive actions on immigration reform : Prepare a Argumentive essay on "Obama pledges to take executive actions on immigration reform"
Explain how financial markets could help to finance : Assume that the business in Mexico grows. Explain how financial markets could help to finance the growth of the business. Discuss with example.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  What should happen if synchronous alternator is synchronised

a) What are the FIVE requirements for synchronizing the alternator tot he grid b) What should happen once the synchronous alternator is synchronized At that very instant, what should happen if the above five conditions are met

  What is the maximum amount of transmissions per hour

A mote draws an average of 200mA when "awake", 0.1mA when "sleeping", and 400mA (total) when "transmitting". Transmitting data takes 2ms, and sensor acquisition takes 1ms. If the maximum size battery available is 5000mAh

  What is the distance that the person must move further

A person with a receiver is 5 km away from the transmitter .What is the distance that this person must move further to detect a 3dB decrease in signal strength.

  Sketch the resulting output and including numeric values

A R-C high-pass filter contains a 1 µF capacitor and a 1k resistor. Suppose a single "square" voltage pulse of 5 V for 1 ms duration is applied to the input. Carefully and neatly sketch the resulting output, including numeric values, of output volt..

  Calculate armature current and total losses in the machine

A 240kW 500 Volt 1750rpm separately excited dc generator has an overall efficiency of 94%. The shunt field resistance is 60ohms, and the rated current is 5amps. The I^2R loss in the armature is 0.023pu.

  Determine the frequency and the period of x

a. Determine the frequency and the period of x(t) b. Given another signal, y(t)= sin(3/4(t+1)+3/8), is y(t) identical to x(t) Why c. Given a discrete time signal x[n] = cos(3/4(n+1/2)+1/4) is it periodic Why

  What is the linear attenuation coefficient for the material

A material is found to have a tenth-thickness of 2.3 cm for 1.25-MeV gamma rays. (a) What is the linear attenuation coefficient for this material (b) What is the half-thickness (c) What is the mean-free-path length for 1.25 MeV photons in this materi..

  Find electric field e2 inside the sphere

A dielectric sphere has radius r = 2 and the material inside the sphere has dielectric constant er2 = 4. THe region outside the sphere where r > 2 is free space and the electric field there is E1=(16r+2+8\phi). Find electric field E2 inside the sp..

  What are the design implications for the location

What are the design implications for the location and positioning of solar cells? Explain why the use of solar cells might be more appropriate in some regions of the country.

  Design interface between a computer output port and em relay

An alarm is powered by 120 VAC, and the on/off state of the alarm is controlled by an EM relay. Design the interface between a computer output port and the EM relay. The dropout voltage is 3.5 V, and the coil current needs at least 100 mA.

  Find the gain kp necessary to meet requirements

A proportional control system is to be used to control the wing flaps of a jet air-plane. The wind load is expected to cause as much as 600 in .lb of torque. The system should be able to keep the flaps to within 5 of the set point.

  Calculate the full-load current delivered by the controller

A 92in*24in*32in, 450kg Square D motor controller is used to drive a 1600 hp,2400V,3-phase,60Hz squirrel-cage motor. a. assumeing the motor has a minimum efficiency and power factor of 96%and 90%,respectively

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd