Write a program in c that reads integers from users

Assignment Help Electrical Engineering
Reference no: EM13252397

Write a program in C not C++ that reads 20 integers from the user and sums the odd and even numbers together. Also have the program output the ratio of the odd numbers to the even numbers.

Reference no: EM13252397

Questions Cloud

Then write a blog entry : The following excerpt from Stanford''s Encyclopedia of Philosophy: Then write a blog entry (3-6 paragraphs) on the following topic: Should wearable devices that can capture, store and track (public) information such as Google Glass be allowed in publ..
Find the electric force acting on charge : Two point charges of + 40.0 ?C and - 10.0 ?C are separated by a distance of 20.0 cm. A +7.00 ?C charge is placed midway between these two charges. What is the electric force acting on this charge
State what is the molar absorptivity of the unknown compound : A 2.78 10-4 M solution of a compound has an absorbance of 0.451 at 520 nm in a 1.00 cm cell. The solvent's absorbance under the same conditions is 0.019. What is the molar absorptivity of the unknown compound
Find the maximum speed of the jumper : The Royal Gorge bridge over the Arkansas River is 360 m above the river. A bungee jumper of mass 93 kg has an elastic cord of length 85 m attached to her feet. Find the maximum speed of the jumper
Write a program in c that reads integers from users : Write a program in C not C++ that reads 20 integers from the user and sums the odd and even numbers together. Also have the program output the ratio of the odd numbers to the even numbers.
Explain what is the density of ar gas : What is the density of Ar gas (molar mass, 39.95 g mol-1) at 21.2oC and 1.10E2 kPa? Give your answer in grams per litre (g L-1), accurate to three significant figures
Why might an organizational want to design jobs : Why might an organizational want to design jobs according to the priciples of scientific management?
What speed does the balloon have : A balloon is initially stationary and full of air. The air in the balloon has a mass of 2 g. What speed does the balloon have
Explain the mass of the anode remains the same : During the electrolysis of an aqueous solution of CuSo4 using inert electrodes, the mass of the anode remains the same but the cathode gains mass

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Calculate the per unit resistance of this transformer

Efficiency in a power transformer is 98.6 percent when loaded such that its copper losses are five times its core losses. Calculate the per unit resistance of this transformer.

  Find a value d such that x is in the range

Let the random variable X denote the annual snow fall amount at a well known Utah ski resort. X has a normal distribution with mean 500 inches and standard deviation 50 inches. (a) What is the probability that in a given year the snow fall will be ..

  Find the capacitance of the cylindrical capacitor

a solid cylindrical conductor of raduis a and charge Q is coaxial with a cylindrical shell of negligible thickness,radius b,and charge -Q. FIND THE CAPACITANCE OF THIS CYLINDRICAL capacitor if its length is l.

  Write inline assembly-language code inside of delay function

write a C program to toggle both PA4 and PA7 of PORTA ON and OFF, with a 1-ms delay after each toggle. Assume that clock frequency is 6.25 MHz. Write inline assembly-language code inside of the delay function.

  How is the problem-solving process different

How is the problem-solving process different when programming in assembly language versus programming in ladder logic?

  Calculate the instantaneous power absorbed by the resistor

Calculate the instantaneous power absorbed by the resistor, the instantaneous power absorbed by the capacitor, the real power absorbed by the resistor, the reactive power delivered by|the capacitor, the load power factor.

  Estimate of how to divide the amount of the project goal

the project manager on a development project working on a new line of laptop computers. The project has been broken down into the following modules: Power supply, Processor and motherboard with RAM, I/O circuit board

  Which is setting subconductors a and c as a bundle

Each subconductor's radius is 10 cm. There are two configurations, the first one is setting subconductors A and B as a bundle, and C and D as another bundle; the second is setting subconductors A and C as a bundle, and B and D as another bundle.

  Find the location and the value of the third charger

Charges +Q and +3Q are seperated by a distance 2m. A third charge is located such that the electrostatic system is in equilibrium. Find the location and the value of the third charger in terms of Q.

  How does noise level change if cutoff frequency of filter

Consider the thermal noise produced by a resistor. How does the noise level change if the resistance is increased by a factor of 100 Next, assume the noise is passed through an ideal, noiseless low-pass filter.

  Find the x in ft so that raction at the left column

A horizontal beam of negligible weight is 38ft long andis supported by columns on each side. a verticle load of 68000lbs is applied to the beam at a distance X from the left end. find the X in ft so that raction at the left column is 47000 lbs

  Determine the errors in serial transmission

A serial transmission is set up for 8 bits with odd parity. The first two bytes of data are 01110111 with parity bit 1 and 01101010 with parity bit 0. From this we know that there are no errors in transmission.

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