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

  Why are organizations important to continual learning

Why are professional organizations important to continual learning? What professional organizations benefit both the employee and the employer.

  Discuss what makes a successful information security

Discuss what makes a successful information security awareness program and how a security awareness program can be one of an organization's most powerful protection strategies.

  Benefits and three negative effects workplace automation

Write at least three benefits and three negative effects brought about by workplace automation. Multinational corporation transfers a foreign employee to the United States on an L-1 visa.

  Suggest an agile project management framework

Create a project plan for this project based on your proposed framework through the use of MS Project or Excel. Note: List all major milestones, resources, tasks and dependencies. Include tools such as risk log to enhance your project plan.

  Write a program that reads in an integer value

Write a program that reads in an integer value for n and then sums the integers from n to 2*n if n is nonnegative, or from 2*n to n if n is negative. Write the code in two versions: one using only for loops and the other using only while loops.

  Explain type to reveal computer to be computer

Explain why you think these questions would be the type to "reveal" the computer to be a computer? Why would these responses have to be given a human begin?

  Use mcnaughton''s wrap around rule

Use McNaughton's wrap around rule to construct a preemptive

  Using positive edge triggered t

Using positive edge triggered T flip flops, show the design of a modulo 7 asynchronous counter that counts 0,1...6,0, etc. You may assume that your flip flop

  Explaining dui and charges of domestic violence

You will be handling sensitive information and may end up in court as a technical or expert witness. How can things such as a DUI, charges of domestic violence and other items affect your career?

  Suggest a way to find web servers for the department

Can you suggest a way to roughly find out the web servers (outside your department) which are not popular among the users in the department? Describe.

  Compare time complexity-convolution using direct convolution

Compare time complexity of convolution with n x n kernel when using: direct convolution with 2-D mask, and separable kernel.

  Benefits of measures used to protect operating systems

Describe relative benefits and disadvantages of at least three different measures used to protect operating systems.

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