Write a program that finds smallest and largest in a series

Assignment Help Electrical Engineering
Reference no: EM13263390

Write a program that finds the "smallest" and "largest" in a series of words. After the user enters the words, the program will determine which words would come first and last if the words were listed in dictionary order. The program must stop accepting input when the user enters a four letter word. Assume that no word is more than 20 letters long.

Reference no: EM13263390

Questions Cloud

What would the wcs before tax component cost of debt : WC, Inc. has a $10,000,000 (face value) a 10 year bond selling for 99% of par that pays an annual coupon of 9% . What would the WC's before tax component cost of debt?
What should the big mac sell for in iceland : According to purchasing power parity, if a Big Mac sells for $3.29 in the United States and the exchange rate for the Iceland kronur is 117.51 kronur/$, what should the Big Mac sell for in Iceland?
Write a program that counts number of lines in a text file : Write a program that counts the number of characters in a text file. Write a program that count the number of words in a text file. Write a program that counts the number of lines in a text file.
What is the cross-rate for punts per swiss franc : Suppose you are reviewing the exchange rates for the Irish Punt (P), the Swiss Franc (SF), and the U.S. Dollar ($). You see the following quotes: P 3 per $1; SF 9 per $1. What is the cross-rate for Punts per Swiss Franc?
Write a program that finds smallest and largest in a series : After the user enters the words, the program will determine which words would come first and last if the words were listed in dictionary order. The program must stop accepting input when the user enters a four letter word. Assume that no word is m..
How many euros would you receive for every yen exchanged : A currency trader observes that in the spot exchange market, one U.S. dollar can be exchanged for 114.35 Japanese yen or for 1.0611 euros. How many euros would you receive for every yen exchanged?
What is the cross-rate in terms of yen per pound : Suppose the Japanese yen exchange rate is 106 yen/US$, and the British pound exchange rate is $1.51 $/pound. What is the cross rate in terms of yen per pound?
What is the received power needed for the satellite : Assume the phone to be hand-held(i.e no pencil -beam emitted, fold-out antennas might be an option) and a LEP (low earth orbit) satellite at a height of 780KM. Keep in mind that a LEO satellite is moving with respect to earth's surface. Pick state..
What is the momentum of the photon : A photon, a packet of electromagnetic radiation, carries both energy and momentum. Consider a photon with a wavelength of 457 nm in vacuum. What is the momentum of the photon

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Explain the shunt field resistance

A 240kW 500V 1750 r/min separately excited dc generator has an overall efiiciency of 94%. The shunt field resistance is 60 ohms and the rated current is 5A. The I^2 R loss in the armature is 0.023 pu.

  What is the maximum number of 32 bit memory

a machine processor address a maximum 2^24 bytes of memory. What is the maximum number of 32 bit words that can be store in memory.

  Determine whether operation results in overflow or underflow

Overflow occurs when a result is too large to be represented accurately given a word size. Underflow occurs when a result is too small to be represented correctly (for example, a negative result while doing unsigned arithmetic.).

  How many roots of polynomials are in the right half plane

how many roots of the following two polynomials are in the right half plane and left half plane P(s)= s^5 + 3s^4 + 5s^3 + 4s^2 + s + 3 P(s)= 3s^7 + 9s^6 + 6s^5 + 4s^4 +7s^3+ 8s^2+2s+6

  Determine the peak-to-peak current ripple in the output

1. Determine the peak-to-peak current ripple in the output inductor for a forward converter and determine the output voltage ripple of the converter. We know the following parameters: duty cycle d, input voltage Vin, turn ratio.

  Consider a three-phase distribution feeder

Consider a three-phase distribution feeder with line reactance of10 ohm supplying a three-phase Y-connected load of 200 kVA at power factor of 0.85 lagging.

  Use little m notation

Given the following function in product-of-sums form, not necessarily minimized, F(W,X,Y,Z) = (W + X' + Y')(W' + Z')(W + Y), Re-express the function in the canonical sum-of-products form. Use little m notation.

  How long does it take light from sun to reach neptune

The average orbital radius of Neptune is 2.8 billion miles. Given that distance, how long on average does it take light from the sun to reach the planet Neptune in hours (Speed of light in English system = 186,282.4 miles/second)

  What will be the output amplitude of a sine wave

a lowpass butterworth filter has a corner frequency of 1 khz and a roll-off of 24 db per octave in the stopband. If the output amplitude of a 3 khz sine wave is .1 V, what will be the output amplitude of a 20 khz sine wave if the input amplitudes ..

  Write a main program that would set timer0

A 200hz(mode 1), 50% duty cycle square wave is to be generated at Timer0 interrupt. a) write a main program that would set Timer0 and the interrupt,and then force the first interrupt.

  A circuit contains two devices that are connected

A circuit contains two devices that are connected in parallel. If the resistances of one of these devices is 12ohms and the resistance

  Find an xc value to put in parallel with the motor

A P=900W electric motor with pf=0.82 lagging is connected to a 240 Vrms 60 hertz source. a) Draw an equivalent circuit showing impedance and phasor values for Vs, R and X. b) Find an Xc value to put in parallel with the motor which corrects the pf to..

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