Devam Ediyor

477533 Strings and Collections

Programs to be created:

* [url removed, login to view]

* [url removed, login to view]

* [url removed, login to view]

Deliverables: On top of the three files above, I need this format to be inserted into the top of all the program files (the name is accurate):

************************************************************/

Program Name: Index

Programmers Name: Nick Collatos

Program Description: This program checks the occurrences of characters, etc...

************************************************************/

Format:

1. The programs MUST have the same names as the assignment title.

2. Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.

3. Must use a Zipped Folder. Place ALL of the .java and .class files for the week into the one zipped folder. This one zipped folder should include all programs.

Instructions:

Program 1: Index

Write a Java GUI application called [url removed, login to view] that inputs several lines of text and a search character and uses String method indexOf to determine the number of occurrences of the character in the text.

Sample Program output: View Output Description

Project1A

Project1B

Project1C

Program 2: Index2

Write a Java GUI application [url removed, login to view] based on the program in project1 that inputs several lines of text and uses String method indexOf to determine the total number of occurrences of each letter of the alphabet in the text. Uppercase and lowercase letters should be counted together. Store the totals for each letter in an array, and print the values in tabular format after the totals have been determined.

Sample Program output: View Output Description

Project2A

Project2B

Program 3: ThreeArrayLists

Write a program called [url removed, login to view] that declares three arrayLists referenced by the objects named priceList, quantityList, and amountList. Each arrayList should be declared in main() and should be capable of holding a minimum of 10 double-precision numbers.

* The numbers that should be stored in price are 10.62, 14.89, 13.21, 16.55, 18.62, 9.47, 6.58, 18.32, 12.15, 3.98.

* The numbers that should be stored in quantity are 4, 8.5, 6, 7.35, 9, 15.3, 3, 5.4, 2.9 4.8.

Your program should pass object references to these three arrays to a method named extend(), which should calculate the elements in the amount array as the product of the corresponding elements in the price and quantity arrays (for example, amount [i] = price[i] * quantity [i]).

After extend() has put values into the amount array, create a method that displays the results of all three lists. Appropriate formatting techniques need to be used to produce a formatted output.

Sample program output:

1) 10.62 * 4.0 = 42.48

2) 14.89 * 8.5 = 126.56

3) 13.21 * 6.0 = 79.26

4) 16.55 * 7.35 = 121.64

5) 18.62 * 9.0 = 167.58

6) 9.47 * 15.3 = 144.89

7) 6.58 * 3.0 = 19.74

8) 18.32 * 5.4 = 98.93

9) 12.15 * 2.9 = 35.24

10) 3.98 * 4.8 = 19.1

These programs need to be delivered, completed, to me by 11 p.m., PST. Thanks in advance for your professionalism.

Beceriler: Her şey Kabul, Java, PHP

Daha fazlasını görün: use of collections in java, top 10 programmers, three p, thanks letter sample, search string in array, search character in string, sample of application letter, references letter, programs in java collections, programmers numbers, no pst file, name of product and description, letter of thanks, letter of application sample, letter of application format, java arraylist 1.5, java 1.4 arraylist, i need programmers php application, example of application letter, collections etc, assignment method example, application letter sample, application letter example, nick p, description and uses of the product

İşveren Hakkında:
( 16 değerlendirme )

Proje NO: #2223440

Seçilen:

eperfections

Ready to do and deliver quality work. Please accept my bid and escrow. Thanks

0 gün içinde 10$ USD
(446 Değerlendirme)
7.4