Need a console program

Assignment Help JAVA Programming
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.

Reference no: EM13690032

Questions Cloud

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.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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