Reference no: EM13690032
Provide the answer of this program
Question: 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:
Part -1: 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).
Part -2: 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.
Part -3: 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
Make this program using java programming. Create this program in simple way.
Decontaminate water containing lead ions
: Problem- Decontaminate water containing lead ions by precipitation with iodide ions. The scientist wants the final [Pb2+]=1.00Ã-10?7 M. What must the [I?] be in this solution in order to achieve this? For lead (II) iodide, Ksp=9.8Ã-10?9.
|
How many grams of liquid sodium needed to absorb
: Problem- Liquid sodium is being considered as an engine coolant. How many grams of liquid sodium (minimum) are needed to absorb 1.40 MJ of energy (in the form of heat) if the temperature of the sodium is not to increase by more than 10.0 °C
|
What volume of no2 can be produced from 0.70 l of o2
: Problem- For the following reaction, what volume of NO2 can be produced from 0.70 L of O2 (measured at the same temperature and pressure), assuming an excess of NO
|
How many bananas would be needed to power a 100 w light bulb
: Problem- If all of the energy from decay of the 40-K in one banana could be captured and converted into electrical energy, how many bananas would be needed to power a 100 W light bulb
|
Need a console program
: Need a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower, or Mixed).
|
What are spectator ions and what effect do they have
: Problem- 100 ml of buffer is made using 0.041 moles of HC2H3O2 (acetic acid) and 0.038 moles of NaC2H3O2 (sodium acetate). The Ka of acetic acid is 1.8 x 10-5 using the above equation, what is the pH of this solution
|
Mole of h3po4 assume h3po4 has 3 h+ ions per molecule
: Problem- How many moles of H+ or OH- ions are there in 3 moles of H2SO4? In 0.2 mole of NaOH? In 1 mole of H3PO4 assume H3PO4 has 3 H+ ions per molecule
|
Create a procedure named basket
: After a shopper completes an order, a procedure is called to update the following columns in the Basket table: orderplaced, subtotal, shipping, tax and total.
|
Calculate the theoretical yield and percent yield
: A reaction was performed in which 0.30 mL of 3,7-dimethyl-3-octanol was reacted with concentrated hydrochloric acid to make 0.25 g of 3-chloro-3,7-dimethyloctane. 1) Calculate the theoretical yield and percent yield for this reaction.
|