Prepare program that reads a text file and stores the data

Assignment Help Computer Engineering
Reference no: EM13701605

Can you prepare the program that reads a text file and stores the data into an Object called fruit Say the text file data is as follows for example:

Apples,9,10.50,joe

Bananas, 15, 11.00,crystal

Cranberry, 2, 9.00, sara

Dragonfruit,5,13.00, amber

Okay now as you can see the first index is already sorted then I need to use a quick sort algorithm to sort the second index which is for instance quantity and then third index price by descending order and customer by alphabet.

These should all be put into an Object called fruit and the text file should be called for instance fruit.java.

Can you help me get started on this problem? Thanks

Reference no: EM13701605

Questions Cloud

Program that asks user to enter two sides of a rectangle : The program will then display the perimeter and area of the rectangle. Both output values will be labeled and formatted with two decimal places.
Prepare a program to implement a for loop : Prepare a program to implement a for loop - Program: Write a for loop that sums all the odd integers between 5 and 20 inclusive.
Design a software class diagram for the use case : Design a software class diagram for the Use Case (Make Appointment) for patient
Program should read in the file and place periods : Create a C++ program that will read this file and correct errors in the English syntax of the file. The program should Read in the file and Place periods at the end of all sentences throughout this file
Prepare program that reads a text file and stores the data : Can you prepare the program that reads a text file and stores the data into an Object called fruit Say the text file data is as follows for
Flow of email messages from jamborea to your customers : A few of the messages, however, are probably legitimate emails.  Should you do anything to restrict the flow of email messages from Jamborea to your customers?
Print out each test score and the total : Write a program that will read in 2 test score. The instructor has decided to give each student 10 bonus point on each test.
Describe three different types of web application : Identify and describe three different types of Web application tests that can be demonstrated using the Damn Vulnerable Web Application tool
What are the benefits of documenting : What are the benefits of documenting our programs in Java?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Which support of bluetooth technology and devices

IPv6 has been hailed as the next generation of the Internet, has an adoption and deployment of IPv6 been quickly as expected? What are several issues and what is the latest.

  Compute the file directory and fat entries

Using a text editor, create a file that is between 5,000 and 6,000 bytes long on a newly formatted floppy disk. compute the file directory and FAT entries for the type of disk used.

  Write down an application which prompts the user to enter a

write an application that prompts the user to enter a number to use as an array size and then attempt to declare an

  Make use to effectively manage a team of system

Are different management techniques needed for managing technical personnel versus nontechnical personnel.

  Given a 3-d point at position 20 35 10 determine the

given a 3-d point at position 20 35 10 determine the coordinates of the point that results from rotating the original

  Calculating the average of 50 numbers

Write down a program which calculates the average of up to 50 numbers input by the user and stored in an array. The program must use a class named Statistics and have an AddNumber method which stores numbers into an array.

  We considered building a balanced or full bst from a sorted

we considered building a balanced or full bst from a sorted array. assume that the array has n 2k-1 elements in sorted

  Business functionality being addressed by the project

How would awareness of the business functionality being addressed by the project result in a solid IT infrastructure and how will documenting the system architecture benefit the stakeholders and the success of this project?

  Description in the last episode of the mafghanistan trilogy

description in the last episode of the mafghanistan trilogy the mamerican forces invaded liberated mafghanistan in

  You are working with php a general-purpose server-side

you are working with php a general-purpose server-side scripting language that allows you to add a lot of function

  A big company has many different departments housed in a

a large company has many different departments housed in a large office complex in the city. each department has its

  In what ways itil framework minimize the impact of change

ITIL stands for the Information Technology Infrastructure Library. ITIL is the international de facto management framework describing "good practices" for IT Service Management.

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