Use the concepts of file reading

Assignment Help Programming Languages
Reference no: EM13810933

This program requires you to use the concepts of file reading, parallel arrays and sorting.

You are to create a text file with the following information:

Robert 82

John 98

Rebecca 88

Steven 76

Jennifer 90

Hannah 80

Fred 64

Maria 77

Casey 97

Robyn 83

As you can see there are ten (10) items here. 

Your program should read the string content into a string array and the integer content into an integer array.  You need to sort the integer array in descending order (using whatever sort algorithm you chose) and match the string parallel array so that the data appears on the screen in descending order.

e.g.

John        98

Casey       97

Jennifer    90

Reference no: EM13810933

Questions Cloud

How far do the balls initially fall : How far do the balls initially fall and How fast are they traveling when the large ball hits the ground?
Write a draft on the strategic plan for your organization in : Write a draft on the strategic plan for your organization, including the following: Implementation plan Objectives Functional tactics Action items Milestones and a deadline Tasks and task ownership Resource allocation
Create a math tutoring program : You are being contracted to create a math tutoring program for a local elementary school.  This tutoring software should ask children which operation they would like to work on
Life of an elderly person affects independence of others : Often, a loss of function will begin a so-called downward spiral in the life of an elderly person, affecting his or her independence and quality of life.
Use the concepts of file reading : This program requires you to use the concepts of file reading, parallel arrays and sorting. Your program should read the string content into a string array and the integer content into an integer array
Essay social stratification : Essay social stratification
How control constructs and arrays would resolve problem : Arrays and control structures are valuable tools when programming. An array contains a number of variables all being the same data type. Explained the situation and how control constructs and arrays would resolve problem
Express older adults related to psychosocial and cognitive : Identify services available in a facility of your choice, based on where you would like to work in the health care field. Address any one of issues:
Arrays and control structures problem : While working with Java, one should become familiar with the term called array. An array is a category that holds more than one value at one time, a list of various items that belong to a certain category or bucket. Similar to an excel spreadsheet..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

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

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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