Need console program repeatedly prompts user enter data

Assignment Help Basic Computer Science
Reference no: EM13230951

Need a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower, or Mixed). As they enter the data, assign it to a two-dimension array where the first dimension contains exactly what they type and the second dimension contains the first non-whitespace character of what they type, in lowercase. If they enter a blank line, it is acceptable to skip that line. When they type done, do these steps: a. display: As Entered a1. for each entry in the array, display the index of the first dimension, the second dimension's value, and the first dimension's value on a single line separated by : (colon). b. display: Bubble Sorted b1. for this sort, each entry in the array, display the original index of the first dimension, the second dimension's value, and the first dimension's value on a single line separated by : (colon) sorted by the second dimension. c. display: Selection Sorted c1. for this sort, each entry in the array, display the original index of the first dimension, the second dimension's value, and the first dimension's value on a single line separated by : (colon) sorted by the first dimension.

Reference no: EM13230951

Questions Cloud

How much usable electrical power would the generator deliver : A three-phase 600VAC generator delivers 2000KVA at a lagging power factor of 81%. If the generator is 86% efficient how much horsepower is required to operate it If the generator outputs its rated voltage what would the line current
Define the two half reactions : This is actually the sum of two half reactions. The sum of a hydrolysis reaction coupled to a condensation reaction is thermodynamically equivalent to the ligase reaction represented by the overall reaction
What is maximum positive voltage and negative voltage : what is the open- circuit voltage. power supply has isolated +- 15V and +-6V outputs,what is the maximum positive voltage and maximum negative voltage that can be output from power supply.
Explain what is the concentration of al at equilibrium : A solution is prepared with initial concentrations of .038 M AL^3+ and .29 M NaF. If the Kf for AlF6^3- is 7.0 * 10^19, what is the concentration of Al^3+ (aq) at equilibrium?
Need console program repeatedly prompts user enter data : Need a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower, or Mixed).
What is the phase impedance and total power delivered : A three-phase delta connected load has a phase resistance of 15 ohms and a phase reactance of 17 ohms when connected to a 480VAC 60HZ line. What is the phase impedance, phase current power factor, and total power delivered to the load
What is power factor what is power factor supplied : Three delta connected transformers are supplying a balanced reactive load. The primary line voltage is 480 volts and the primary line current is 20.5 amps. The load power used is 4.8kw. What is the power factor, the apparent power supplied
Explain the effect of disease causing bacteria : scientists wanted to test the effect of disease causing bacteria, Then they mixed both sets of A with an equal amount of Band injected the mixture into healthy white mice
Find the input power-pin to calculate the snr : an amplifier with a 1 MHz bandwidth and a 20 micro-V input signal. The input noise = 1 micro-V, output signal = 6.0 mV, and output noise = 1 mV. Find (a) SNR at the input Pin = Pn(in)= K(T)BW= 1.38*10-23(290)1MHz= 4*10-15W

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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