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

  Ieee 754 32-bit floating point values

Convert the following numbers to IEEE 754 32-bit floating point values (display results in hexadecimal)

  Write down sructured english for clyde-s narrative

On a trip lasting more than one day, we permit hotel, taxi, and airfare also meal allowances. Same times apply for meal expenses. Write down sructured English for Clyde's narrative of the reimbursement policies.

  Write a program that will read in a length in meters

Write a program that will read in a length in meters and centimeters and output the equivalent length in feet and inches. Use at least three functions; one for input, one or more for calculating and one for output.

  What is the size of a char and a string

What are the sizes in memory of other data types in C++? I mean, I know that a double is 8 bytes and an int is 4 bytes. What is the size of a Char and a String?

  Write a program that prompts the user to input a string

Write a program that prompts the user to input a string and then outputs the string in the pig Latin form. The rules for converting a string into pig latin form are described in Programming example : Your program must store the characters of a str..

  Continue to keep a journal

Continue to keep a journal of your activities and experience of using SAP. Include a copy of your full journal as an appendix to the reflective essay.

  Implement the stack and queue with a single class

Implement the stack and queue with a single class interfaces with a unique class that is derived from class LinkedDeque (Code Fragment 5.21)

  The heating element of a water heater in an apartment

The heating element of a water heater in an apartment building has a maximum power output of 28 kW. Four residents of the building

  Reverse a sixteen-bit binary number by lc program

How to reverse a 16-bit binary number by LC-3 program? Program should assume that the word to be reversed is stored in memory location x3100.

  Describe the major components of a datawarehouse

Briefly describe the major components of a datawarehouse architecture. Explain how the volatility of a datawarehouse is different from the volatility of a database for an operational information system. Please cite sources if any used.

  Recognize the types of each variable as nominal and ordinal

Suppose you are working on data analysis project about laptop computers. Each computer is explained by following variables. Recognize the types of each variable as nominal, ordinal, interval or ratio.

  Identify the strengths and weaknesses of the nist programs

Identify the strengths and weaknesses of the NIST programs compared to the ISO standard.

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