Question

Create a program that will use the attached input file and perform the following operations. Read...

Create a program that will use the attached input file and perform the following operations.

Read the file into an appropriate JCF data structure.

Look up a (list of) names and numbers matching a last name or the first letters of a last name, ignoring case.

Look up a (list of) names and numbers matching a number or the first digits of a number.

Add a name and number to the list.

Sort the list by first name, last name or phone number and display it, one page (10 numbers) at a time ("press enter to continue").

Save the list to the disk.

Write a driver to display a menu of the options listed above and repeat actions until the user selects an Exit option.

James Butt 504-621-8927
Josephine Darakjy 810-292-9388
Art Venere 856-636-8749
Lenna Paprocki 907-385-4412
Donette Foller 513-570-1893
Simona Morasca 419-503-2484
Mitsue Tollner 773-573-6914
Leota Dilliard 408-752-3500
Sage Wieser 605-414-2147
Kris Marrier 410-655-8723
Minna Amigon 215-874-1229
Abel Maclead 631-335-3414
Kiley Caldarera 310-498-5651
Graciela Ruta 440-780-8425
Cammy Albares 956-537-6195
Mattie Poquette 602-277-4385
Meaghan Garufi 931-313-9635
Gladys Rim 414-661-9598
Yuki Whobrey 313-288-7937
Fletcher Flosi 815-828-2147
Bette Nicka 610-545-3615
Veronika Inouye 408-540-1785
Willard Kolmetz 972-303-9197
Maryann Royster 518-966-7987
Alisha Slusarski 732-658-3154
Allene Iturbide 715-662-6764
Chanel Caudy 913-388-2079
Ezekiel Chui 410-669-1642
Willow Kusko 212-582-4976
Bernardo Figeroa 936-336-3951
Ammie Corrio 614-801-9788
Francine Vocelka 505-977-3911
Ernie Stenseth 201-709-6245
Albina Glick 732-924-7882
Alishia Sergi 212-860-1579
Solange Shinko 504-979-9175
Jose Stockham 212-675-8570
Rozella Ostrosky 805-832-6163
Valentine Gillian 210-812-9597
Kati Rulapaugh 785-463-7829
Youlanda Schemmer 541-548-8197
Dyan Oldroyd 913-413-4604
Roxane Campain 907-231-4722
Lavera Perin 305-606-7291
Erick Ferencz 907-741-1044
Fatima Saylors 952-768-2416
Jina Bridd 617-399-5124
Kanisha Waycott 323-453-2780
Emerson Bowley 608-336-7444
Blair Malet 215-907-9111
Brock Bolognia 212-402-9216
Lorrie Nestle 931-875-6644
Sabra Uyetake 803-925-5213
Marjory Mastella 610-814-5533
Karl Klonowski 908-877-6135
Tonette Wenner 516-968-6051
Amber Monarrez 215-934-8655
Shenika Seewald 818-423-4007
Delmy Ahle 401-458-2547
Deeanna Juhas 215-211-9589
Blondell Pugh 401-960-8259
Jamal Vanausdal 732-234-1546
Cecily Hollack 512-486-3817
Carmelina Lindall 303-724-7371
Maurine Yglesias 414-748-1374
Tawna Buvens 212-674-9610
Penney Weight 907-797-9628
Elly Morocco 814-393-5571
Ilene Eroman 410-914-9018
Vallie Mondella 208-862-5339
Kallie Blackwood 415-315-2761
Johnetta Abdallah 919-225-9345
Bobbye Rhym 650-528-5783
Micaela Rhymes 925-647-3298
Tamar Hoogland 740-343-8575
Moon Parlato 585-866-8313
Laurel Reitler 410-520-4832
Delisa Crupi 973-354-2040
Viva Toelkes 773-446-5569
Elza Lipke 973-927-3447
Devorah Chickering 505-975-8559
Timothy Mulqueen 718-332-6527
Arlette Honeywell 904-775-4480
Dominque anderson 510-993-3758
Lettie Isenhower 216-657-7668
Myra Munns 817-914-7518
Stephaine Barfield 310-774-7643
Lai Gato 847-728-7286
Stephen Emigh 330-537-5358
Tyra Shields 215-255-1641
Tammara Wardrip 650-803-1936
Cory Gibes 626-572-1096
Danica Bruschke 254-782-8569
Wilda Giguere 907-870-5536
Elvera Benimadho 408-703-8505
Carma Vanheusen 510-503-7169
Malinda Hochard 317-722-5066
Natalie Fern 307-704-8713
Lisha Centini 703-235-3937
Arlene Klusman 504-710-5840
Alease Buemi 303-301-4946
Louisa Cronauer 510-828-7047
Angella Cetta 808-892-7943
Cyndy Goldammer 952-334-9408
Rosio Cork 336-243-5659
Celeste Korando 516-509-2347
Twana Felger 503-939-3153
Estrella Samu 608-976-7199
Donte Kines 508-429-8576
Tiffiny Steffensmeier 305-385-9695
Edna Miceli 814-460-2655
Sue Kownacki 972-666-3413
Jesusa Shin 931-273-8709
Rolland Francescon 973-649-2922
Pamella Schmierer 305-420-8970
Glory Kulzer 410-224-9462
Shawna Palaspas 805-275-3566
Brandon Callaro 808-215-6832
Scarlet Cartan 229-735-3378
Oretha Menter 617-418-5043
Ty Smith 201-672-1553
Xuan Rochin 650-933-5072
Lindsey Dilello 909-639-9887
Devora Perez 510-955-3016
Herman Demesa 518-497-2940
Rory Papasergi 570-867-7489
Talia Riopelle 973-245-2133
Van Shire 908-409-2890
Lucina Lary 321-749-4981
Bok Isaacs 718-809-3762
Rolande Spickerman 808-315-3077
Howard Paulas 303-623-4241
Kimbery Madarang 973-310-1634
Thurman Manno 609-524-3586
Becky Mirafuentes 908-877-8409
Beatriz Corrington 508-584-4279
Marti Maybury 773-775-4522
Nieves Gotter 503-527-5274
Leatha Hagele 214-339-1809
Valentin Klimek 312-303-5453
Melissa Wiklund 419-939-3613
Sheridan Zane 951-645-3605
Bulah Padilla 254-463-4368
Audra Kohnert 615-406-7854
Daren Weirather 414-959-2540
Fernanda Jillson 410-387-5260
Gearldine Gellinger 972-934-6914
Chau Kitzman 310-560-8022
Theola Frey 516-948-5768
Cheryl Haroldson 609-518-7697
Laticia Merced 513-508-7371
Carissa Batman 541-326-4074
Lezlie Craghead 919-533-3762
Ozell Shealy 212-332-8435
Arminda Parvis 602-906-9419
Reita Leto 317-234-1135
Yolando Luczki 315-304-4759
Lizette Stem 856-487-5412
Gregoria Pawlowicz 516-212-1915
Carin Deleo 501-308-1040
Chantell Maynerich 651-591-2583
Dierdre Yum 215-325-3042
Larae Gudroe 985-890-7262
Latrice Tolfree 631-957-7624
Kerry Theodorov 916-591-3277
Dorthy Hidvegi 208-649-2373
Fannie Lungren 512-587-5746
Evangelina Radde 215-964-3284
Novella Degroot 808-477-4775
Clay Hoa 775-501-8109
Jennifer Fallick 847-979-9545
Irma Wolfgramm 973-545-7355
Eun Coody 864-256-3620
Sylvia Cousey 410-209-9545
Nana Wrinkles 914-855-2115
Layla Springe 212-260-3151
Joesph Degonia 510-677-9785
Annabelle Boord 978-697-6263
Stephaine Vinning 415-767-6596
Nelida Sawchuk 201-971-1638
Marguerita Hiatt 925-634-7158
Carmela Cookey 773-494-4195
Junita Brideau 973-943-3423
Claribel Varriano 419-544-4900
Benton Skursky 310-579-2907
Hillary Skulski 352-242-2570
Merilyn Bayless 408-758-5015
Teri Ennaco 570-889-5187
Merlyn Lawler 201-588-7810
Georgene Montezuma 925-615-5185
Jettie Mconnell 908-802-3564
Lemuel Latzke 631-748-6479
Melodie Knipp 805-690-1682
Candida Corbley 908-275-8357
Karan Karpin 503-940-8327
Andra Scheyer 503-516-2189
Felicidad Poullion 856-305-9731
Belen Strassner 770-507-8791
Gracia Melnyk 904-235-3633
Jolanda Hanafan 207-458-9196
Barrett Toyama 817-765-5781
Helga Fredricks 716-752-4114
Ashlyn Pinilla 305-670-9628
Fausto Agramonte 212-313-1783
Ronny Caiafa 215-605-7570
Marge Limmel 850-430-1663
Norah Waymire 415-306-7897
Aliza Baltimore 408-504-3552
Mozell Pelkowski 650-947-1215
Viola Bitsuie 818-864-4875
Franklyn Emard 215-558-8189
Willodean Konopacki 337-253-8384
Beckie Silvestrini 313-533-4884
Rebecka Gesick 512-213-8574
Frederica Blunk 214-428-2285
Glen Bartolet 206-697-5796
Freeman Gochal 610-476-3501
Vincent Meinerding 215-372-1718
Rima Bevelacqua 310-858-5079
Glendora Sarbacher 707-653-8214
Avery Steier 407-808-9439
Cristy Lother 760-971-4322
Nicolette Brossart 508-837-9230
Tracey Modzelewski 936-264-9294
Virgina Tegarden 414-214-8697
Tiera Frankel 626-636-4117
Alaine Bergesen 914-300-9193
Earleen Mai 214-289-1973
Leonida Gobern 228-235-5615
Ressie Auffrey 305-604-8981
Justine Mugnolo 212-304-9225
Eladia Saulter 201-474-4924
Chaya Malvin 734-928-5182
Gwenn Suffield 631-258-6558
Salena Karpel 330-791-8557
Yoko Fishburne 203-506-4706
Taryn Moyd 703-322-4041
Katina Polidori 978-626-2978
Rickie Plumer 419-693-1334
Alex Loader 253-660-7821
Lashon Vizarro 916-741-7884
Lauran Burnard 307-342-7795
Ceola Setter 207-627-7565
My Rantanen 215-491-5633
Lorrine Worlds 813-769-2939
Peggie Sturiale 619-608-1763
Marvel Raymo 979-718-8968
Daron Dinos 847-233-3075
An Fritz 609-228-5265
Portia Stimmel 908-722-7128
Rhea Aredondo 718-560-9537
Benedict Sama 314-787-1588
Alyce Arias 209-317-1801
Heike Berganza 973-936-5095
Carey Dopico 317-578-2453
Dottie Hellickson 206-540-6076
Deandrea Hughey 336-822-7652
Kimberlie Duenas 785-629-8542
Martina Staback 407-471-6908
Skye Fillingim 612-508-2655
Jade Farrar 803-352-5387
Charlene Hamilton 707-300-1771
Geoffrey Acey 847-222-1734
Stevie Westerbeck 949-867-4077
Pamella Fortino 303-404-2210
Harrison Haufler 203-801-6193
Johnna Engelberg 425-986-7573
Buddy Cloney 440-989-5826
Dalene Riden 603-315-6839
Jerry Zurcher 321-518-5938
Haydee Denooyer 212-792-8658
Joseph Cryer 714-584-2237
Deonna Kippley 248-913-4677
Raymon Calvaresi 317-825-4724
Alecia Bubash 940-276-7922
Ma Layous 203-721-3388
Detra Coyier 410-739-9277
Terrilyn Rodeigues 504-463-4384
Salome Lacovara 804-550-5097
Garry Keetch 215-979-8776
Matthew Neither 952-651-7597
Theodora Restrepo 305-936-8226
Noah Kalafatis 414-263-5287
Carmen Sweigard 732-941-2621
Lavonda Hengel 701-898-2154
Junita Stoltzman 775-638-9963
Herminia Nicolozakes 602-954-5141
Casie Good 615-390-2251
Reena Maisto 410-351-1863
Mirta Mallett 212-870-1286
Cathrine Pontoriero 806-703-1435
Filiberto Tawil 323-765-2528
Raul Upthegrove 619-509-5282
Sarah Candlish 770-732-1194
Lucy Treston 508-769-5250
Judy Aquas 269-756-7222
Yvonne Tjepkema 973-714-1721
Kayleigh Lace 337-740-9323
Felix Hirpara 717-491-5643
Tresa Sweely 314-359-9566
Kristeen Turinetti 817-213-8851
Jenelle Regusters 813-932-8715
Renea Monterrubio 770-679-4752
Olive Matuszak 760-938-6069
Ligia Reiber 517-906-1108
Christiane Eschberger 602-390-4944
Goldie Schirpke 207-295-7569
Loreta Timenez 301-696-6420
Fabiola Hauenstein 717-809-3119
Amie Perigo 972-419-7946
Raina Brachle 406-318-1515
Erinn Canlas 973-767-3008
Cherry Lietz 248-980-6904
Kattie Vonasek 216-923-3715
Lilli Scriven 325-631-1560
Whitley Tomasulo 817-526-4408
Barbra Adkin 718-201-3751
Hermila Thyberg 401-893-4882
Jesusita Flister 717-885-9118
Caitlin Julia 401-948-4982
Roosevelt Hoffis 305-622-4739
Helaine Halter 201-832-4168
Lorean Martabano 210-856-4979
France Buzick 718-478-8504
Justine Ferrario 909-993-3242
Adelina Nabours 216-230-4892
Derick Dhamer 212-304-4515
Jerry Dallen 804-762-9576
Leota Ragel 706-221-4243
Jutta Amyot 337-515-1438
Aja Gehrett 973-544-2677
Kirk Herritt 607-407-3716
Leonora Mauson 973-412-2995
Winfred Brucato 208-252-4552
Tarra Nachor 415-411-1775
Corinne Loder 508-942-4186
Dulce Labreche 248-357-8718
Kate Keneipp 920-353-6377
Kaitlyn Ogg 410-665-4903
Sherita Saras 719-669-1664
Lashawnda Stuer 419-588-8719
Ernest Syrop 301-998-9644
Nobuko Halsey 508-855-9887
Lavonna Wolny 703-483-1970
Lashaunda Lizama 410-678-2473
Mariann Bilden 512-223-4791
Helene Rodenberger 623-461-8551
Roselle Estell 419-571-5920
Samira Heintzman 206-311-4137
Margart Meisel 513-617-2362
Kristofer Bennick 812-368-1511
Weldon Acuff 847-353-2156
Shalon Shadrick 718-232-2337
Denise Patak 407-446-4358
Louvenia Beech 310-820-2117
Audry Yaw 813-797-4816
Kristel Ehmann 915-452-1290
Vincenza Zepp 619-603-5125
Elouise Gwalthney 301-841-5012
Venita Maillard 714-523-6653
Kasandra Semidey 314-732-9131
Xochitl Discipio 512-233-1831
Maile Linahan 336-670-2640
Krissy Rauser 631-443-4710
Pete Dubaldi 201-825-2514
Linn Paa 901-412-4381
Paris Wide 404-505-4445
Wynell Dorshorst 650-473-1262
Quentin Birkner 952-702-7993
Regenia Kannady 480-726-1280
Sheron Louissant 718-976-8610
Izetta Funnell 770-844-3447
Rodolfo Butzen 507-210-3510
Zona Colla 203-461-1949
Serina Zagen 260-273-3725
Paz Sahagun 601-927-8287
Markus Lukasik 586-970-7380
Jaclyn Bachman 719-853-3600
Cyril Daufeldt 212-745-8484
Gayla Schnitzler 510-686-3407
Erick Nievas 773-704-9903
Jennie Drymon 570-218-4831
Mitsue Scipione 530-986-9272
Ciara Ventura 845-823-8877
Galen Cantres 216-600-6111
Truman Feichtner 973-852-2736
Gail Kitty 907-435-9166
Dalene Schoeneck 215-268-1275
Gertude Witten 513-977-7043
Lizbeth Kohl 310-699-1222
Glenn Berray 515-370-7348
Lashandra Klang 610-809-1818
Lenna Newville 919-623-2524
Laurel Pagliuca 509-695-5199
Mireya Frerking 914-868-5965
Annelle Tagala 410-757-1035
Dean Ketelsen 516-847-4418
Levi Munis 508-456-4907
Sylvie Ryser 918-644-9555
Sharee Maile 231-467-9978
Cordelia Storment 337-566-6001
Mollie Mcdoniel 419-975-3182
Brett Mccullan 619-461-9984
Teddy Pedrozo 203-892-3863
Tasia Andreason 201-920-9002
Hubert Walthall 330-903-1345
Arthur Farrow 201-238-5688
Vilma Berlanga 616-737-3085
Billye Miro 601-567-5386
Glenna Slayton 901-640-9178
Mitzie Hudnall 303-402-1940
Bernardine Rodefer 901-901-4726
Staci Schmaltz 626-866-2339
Nichelle Meteer 773-225-9985
Janine Rhoden 718-228-5894
Ettie Hoopengardner 509-755-5393
Eden Jayson 410-890-7866
Lynelle Auber 973-860-8610
Merissa Tomblin 562-579-6900
Golda Kaniecki 732-628-9909
Catarina Gleich 973-210-3994
Virgie Kiel 303-776-7548
Jolene Ostolaza 757-682-7116
Keneth Borgman 602-919-4211
Rikki Nayar 305-968-9487
Elke Sengbusch 602-896-2993
Hoa Sarao 386-526-7800
Trinidad Mcrae 415-331-9634
Mari Lueckenbach 858-793-9684
Selma Husser 201-991-8369
Antione Onofrio 909-430-7765
Luisa Jurney 617-365-2134
Clorinda Heimann 760-291-5497
Doug Wenzinger 310-510-9713
Ahmed Angalich 717-528-8996
Iluminada Ohms 480-293-2882
Joanna Leinenbach 561-470-4574
Caprice Suell 615-246-1824
Stephane Myricks 859-717-7638
Quentin Swayze 734-561-6170
Annmarie Castros 936-751-7961
Shonda Greenbush 973-482-2430
Cecil Lapage 201-693-3967
Jeanice Claucherty 305-988-4162
Josphine Villanueva 931-553-9774
Daniel Perruzza 714-771-3880
Cassi Wildfong 847-633-3216
Britt Galam 215-888-3304
Adell Lipkin 973-654-1561
Jacqueline Rowling 814-865-8113
Lonny Weglarz 801-293-9853
Lonna Diestel 910-922-3672
Cristal Samara 213-975-8026
Kenneth Grenet 517-499-2322
Elli Mclaird 315-818-2638
Alline Jeanty 574-656-2800
Sharika Eanes 407-312-1691
Nu Mcnease 973-751-9003
Daniela Comnick 609-200-8577
Cecilia Colaizzo 608-382-4541
Leslie Threets 914-861-9748
Nan Koppinger 336-370-5333
Izetta Dewar 410-473-1708
Tegan Arceo 732-730-2692
Ruthann Keener 830-258-2769
Joni Breland 847-519-5906
Vi Rentfro 732-605-4781
Colette Kardas 402-896-5943
Malcolm Tromblay 703-221-5602
Ryan Harnos 972-558-1665
Jess Chaffins 212-510-4633
Sharen Bourbon 516-816-1541
Nickolas Juvera 352-598-8301
Gary Nunlee 317-542-6023
Diane Devreese 816-557-9673
Roslyn Chavous 601-234-9632
Glory Schieler 325-869-2649
Rasheeda Sayaphon 408-805-4309
Alpha Palaia 856-312-2629
Refugia Jacobos 510-974-8671
Shawnda Yori 407-538-5106
Mona Delasancha 307-403-1488
Gilma Liukko 516-393-9967
Janey Gabisi 608-967-7194
Lili Paskin 201-431-2989
Loren Asar 570-648-3035
Dorothy Chesterfield 858-617-7834
Gail Similton 760-616-5388
Catalina Tillotson 609-373-3332
Lawrence Lorens 401-465-6432
Carlee Boulter 785-347-1805
Thaddeus Ankeny 916-920-3571
Jovita Oles 386-248-4118
Alesia Hixenbaugh 202-646-7516
Lai Harabedian 415-423-3294
Brittni Gillaspie 208-709-1235
Raylene Kampa 574-499-1454
Flo Bookamer 308-726-2182
Jani Biddy 206-711-6498
Chauncey Motley 407-413-4842

0 0
Add a comment Improve this question Transcribed image text
Answer #1

package com.src;

import java.io.BufferedReader;

import java.io.File;

import java.io.FileNotFoundException;

import java.io.FileReader;

import java.io.FileWriter;

import java.io.IOException;

import java.util.ArrayList;

import java.util.Collections;

import java.util.Comparator;

import java.util.Scanner;

import java.util.StringTokenizer;

class Data{

String fName;

String lName;

String Number;

public Data(String fName, String lName, String number) {

super();

this.fName = fName;

this.lName = lName;

Number = number;

}

public String getfName() {

return fName;

}

public String getlName() {

return lName;

}

public String getNumber() {

return Number;

}

public void setfName(String fName) {

this.fName = fName;

}

public void setlName(String lName) {

this.lName = lName;

}

public void setNumber(String number) {

Number = number;

}

@Override

public String toString() {

return "[fName=" + fName + ", lName=" + lName + ", Number=" + Number + "]";

}

}

class SortbyFName implements Comparator<Data>

{

// Used for sorting in ascending order of

// First Name

public int compare(Data a, Data b)

{

return a.getfName().compareTo(b.getfName());

}

}

class SortbyLName implements Comparator<Data>

{

// Used for sorting in ascending order of

// last Name

public int compare(Data a, Data b)

{

return a.getlName().compareTo(b.getlName());

}

}

class SortbyPhoneNumber implements Comparator<Data>

{

// Used for sorting in ascending order of

// phone number

public int compare(Data a, Data b)

{

return a.getNumber().compareTo(b.getNumber());

}

}

public class PhoneData {

public static void display(ArrayList<Data> phonelist) {

for(int i=0;i<phonelist.size();i++) {

System.out.println(phonelist.get(i).getfName() + " " +phonelist.get(i).getlName() + " " + phonelist.get(i).getNumber());

}

}

public static void main(String[] args) throws IOException {

ArrayList<Data> phoneList = new ArrayList<>();

File file = new File("sequences.txt");

BufferedReader br = new BufferedReader(new FileReader(file));

String line;

while ((line = br.readLine()) != null) {

StringTokenizer st = new StringTokenizer(line, " ");

String fName = null,lName = null, phoneNumber=null;

if(st.hasMoreTokens())

fName=st.nextToken();

if(st.hasMoreElements())

lName = st.nextToken();

if(st.hasMoreElements())

phoneNumber = st.nextToken();

Data d = new Data(fName, lName, phoneNumber);

phoneList.add(d);

}

Scanner sc = new Scanner(System.in);

int choice = 0;

String nameValue=null;

PhoneData p;

do{

System.out.println("1. Look up by lastName");

System.out.println("2. Look up by Number");

System.out.println("3. Add new data");

System.out.println("4. Sort");

System.out.println("5. Save into Disk");

System.out.println("6. Exit");

System.out.println("Enter your choice");

choice = sc.nextInt();

switch (choice) {

case 1:

sc.nextLine();

System.out.println("Enter last Name or first char of last Name");

nameValue = sc.nextLine();

for(int i=0;i<phoneList.size();i++) {

Data d = phoneList.get(i);

if(d.getlName().startsWith(nameValue))

System.out.println(d);

}

break;

case 2:

sc.nextLine();

System.out.println("Enter Phone Number or first digit of Phone number");

nameValue = sc.nextLine();

for(int i=0;i<phoneList.size();i++) {

Data d = phoneList.get(i);

if(d.getNumber().startsWith(nameValue))

System.out.println(d);

}

break;

case 3:

sc.nextLine();

String fName,lName,number;

System.out.print("Enter first name:");

fName = sc.nextLine();

System.out.print("Enter last name:");

lName = sc.nextLine();

System.out.print("Enter phone number:");

number = sc.nextLine();

Data d = new Data(fName, lName, number);

phoneList.add(d);

break;

case 4:

int sortBy;

System.out.println("Enter 1.First Name , 2.Last Name, 3.Phone number");

sortBy = sc.nextInt();

if(sortBy == 1)

Collections.sort(phoneList, new SortbyFName());

else if(sortBy == 2)

Collections.sort(phoneList, new SortbyLName());

else if(sortBy == 3)

Collections.sort(phoneList, new SortbyPhoneNumber());

display(phoneList);

break;

case 5:

try {

FileWriter fw=new FileWriter("D:\\phoneList.txt");   

for(int i=0;i<phoneList.size();i++) {

fw.write(phoneList.get(i).getfName() + " " +phoneList.get(i).getlName() + " " + phoneList.get(i).getNumber());

}

fw.close();   

}catch(Exception e){

System.out.println(e);

}   

break;

default:

break;

}

}while(choice!=6);

}

}

//output:

Add a comment
Know the answer?
Add Answer to:
Create a program that will use the attached input file and perform the following operations. Read...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Problem 22-06 Management of TSC, Inc. is evaluating a new $97,000 investment with the following estimated...

    Problem 22-06 Management of TSC, Inc. is evaluating a new $97,000 investment with the following estimated cash flows: Year Cash Flow $ 7,000 31,000 41,000 55,000 The firm's cost of capital is 12 percent and the project will require that the firm spend $12,000 to terminate the project. Use Appendix B to answer the question. Use a minus sign to enter a negative value, if any. Round your answer to the nearest dollar. The NPV of the investment is $...

  • The Language Is SQL The language is SQL 13- List full details of agents with first...

    The Language Is SQL The language is SQL 13- List full details of agents with first names having exactly three or four letters sorted by the state attribute. 14- List the first name, the last name, the address, the city, the state, the branch number, and the email of agents working in the branch 8005 and having email addresses from yahoo.com. 15-List the first name, the last name, the address, the city, the state, the branch number, and the email...

  • need help to complete this java program // add appropriate import statements here. // These imports...

    need help to complete this java program // add appropriate import statements here. // These imports you can leave as is. import javafx.application.Application; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.paint.Color; import javafx.stage.Stage; /** @author yourAccountNameHere */ public class ConnectTheDots extends Application {            /*     * Do not add code to main(). Add it below in connectTheDots instead.     */     public static void main(String[] args) {         launch(args);     }         /*...

  • In C++ Programming: Using a single for loop, output the even numbers between 2 and 1004...

    In C++ Programming: Using a single for loop, output the even numbers between 2 and 1004 (inclusive) that iterates (loops) exactly 502 times. The outputted numbers be aligned in a table with 10 numbers per row. Each column in the table should be 5 characters wide. Do not nest a loop inside of another loop. Hint: First create and test the code that output the numbers all on one line (the command line will automatically wrap the output to new...

  • Hi it's python I imported a data which are so many words in txt and I arranged and reshaped with ...

    Hi it's python I imported a data which are so many words in txt and I arranged and reshaped with alphabetically both rows and columns I was successful with these steps but I am stuck with next step below is my code and screenshot import numpy as np import pandas as pd data=pd.read_csv("/Users/superman/Downloads/words_file2.txt",header=None) df_input=pd.DataFrame(data) df_output=pd.DataFrame(np.arange(676).reshape((26,26)), index = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'], columns = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']) df_output.index.name="Start" df_output.columns.name="End" df_output This below screen shot is what I have to find I have to find each word...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT