Create a program in writecustomerlist. java that allows a user to input customer records (id number, first name, last name, and balance owed) and save each record to a file named customerlist. txt. have the program accept input until zzz is input for the id number. write the records to customerlist. txt in csv format, for example:

101,john,smith,107. 5

41,jill,green,20. 0

when you execute the program, be sure to enter multiple records that have the same last name because you will search for repeated last names in part 4 of this exercise.


write an application named displaysavedcustomerlist. java that reads the file created by the writecustomerlist application and displays the records.


write an application named displayselectedcustomer. java that allows you to enter any id number, reads the customer data file created in step 1, and displays the data for the customer. display the message no records found if the id number cannot be found in the input file.


write an application named displayselectedcustomersbyname. java that allows you to enter any last name and displays all the data for customers with the given last name. display the message no records found if the name cannot be found in the input file.


write an application named displayselectedcustomersbybalance. java that allows you to enter any purchase amount and displays all the data for customers with balances greater than the entered value. display the message no records found if no customers meet the criteria

Answers

Answer 1

Using the knowledge in computational language in JAVA, this code can be written as:

Writing code in JAVA:

public String toString() {

return this.firstName+" " + this.lastName ;

}

System.out.println("Enter First Name: ");

   String firstName = input.nextLine();

   System.out.println("Enter Last Name: ");

   String lastName = input.nextLine();

   System.out.println("Enter Home Address: ");

   String homeAddress = input.nextLine();

   Customer cus = new Customer(firstName, lastName, homeAddress);

   System.out.println("\nWelcome: ");

   System.out.print(cus.getFirstName() + cus.getLastName());

   System.out.println("\n Your Shipping Address: ");

   System.out.print(cus.getHomeShippingAddress());

   List<Customer> customer = new ArrayList<Customer>();

   customer.add(cus);

   printList(customer);

}

public static void printList(List<Customer> list) {

   System.out.println("Customers: ");

   for (Customer customer : list) {

       System.out.printf("%s", customer);

   }

   System.out.println();

}

This JAVA code describes a program in writecustomerlist. java that allows a user to input customer records.

See more about JAVA at brainly.com/question/12975450

#SPJ1

Create A Program In Writecustomerlist. Java That Allows A User To Input Customer Records (id Number,

Related Questions

What does the processor contain?

Answers

Answer:

It consists of an arithmetic and logic unit (ALU), a control unit, and various registers. The CPU is often simply referred to as the processor.

Explanation:

A 32-second sound clip will be recorded. The sound will be sampled 16000 times a second. Each sample will be stored using 8 bits. Calculate the file size in kilobytes. You must show all of your working. ​

Answers

The  Audio Size of the 32-second sound clip is given as: = 500 kb

See calculation and explanations below.

What is Audio Size?

The term audio size is used to refer to the size of an audio file measured in bytes, or kilobytes, or megabytes depending on it's size.



What is the calculation of the size of the audio file?

Step 1

The formula for calculating the Audio Size is:

= Sampling rate x sample size x time x channel

= 16,000hz x 8bits x 32 x 1 (We assume it is only one channel since the number of channels is not specified)

= 4,096,000 bits

Step 2 - We convert to bytes.

To convert to bytes, we divide our answer in bits by 8; hence

= 4,096,000/8

= 512,000

Step 3 - convert to kilobytes by dividing by 1024

Therefore, answer in kilobytes

= 512,000/1024

= 500 kb

See more about kilobytes at:
https://brainly.com/question/15166519
#SPJ1

The ipv6 address fields are 128 bits long, and as such there is no need to extend ip addressing by using either dhcp or nat (i.e., these protocols become obsolete). true false

Answers

Answer:

True

Explanation:

according to coursehero it's true

The ipv6 address fields are 128 bits long, and as such there is no need to extend ip addressing by using either dhcp or nat (i.e., these protocols become obsolete, its true.

An IPv6 address is a 128-bit alphanumeric value that identifies an endpoint machine in an Internet Protocol Version 6 (IPv6) network. IPv6 is the beneficiary to a previous addressing infrastructure, IPv4, which had limitations IPv6 was created to overcome.

What is IPv6 explained?

IPv6 is an Internet Layer protocol for packet-switched internetworking and gives end-to-end datagram transmission across multiple IP networks, closely sticking to the design principles set in the previous performance of the protocol, Internet Protocol Version 4 (IPv4).

What are the IPv6 address types?

The three types of IPv6 addresses are unicast, anycast, and multicast.

Unicast addresses specify a single interface.

Anycast addresses specify a set of interfaces in such a way that a packet sent to an anycast address is delivered to a component of the set.

To learn more about Internet Layer protocol, refer

https://brainly.com/question/5296366

#SPJ2

different between simplex and duplex data transmission mode​

Answers

In simplex mode, Sender can send the data but that sender can't receive the data. In half duplex mode, Sender can send the data and also can receive the data but one at a time. In full duplex mode, Sender can send the data and also can receive the data simultaneously.

9.2 lesson practice ​

Answers

Answer:

6 columns/items

Explanation:

grid starts off as an empty list ( [ ] ), so right now it has 0 items/columns.

After that, 3 new items ("frog", "cat", "hedgehog") have been appended to grid, it now has 3 items

Finally another 3 items are appended to grid ("fish", "emu", "rooster"), finally grid ends up with 6 items in total.

Write a function named count_case that takes a string as an argument and returns the count of upper case and lower case characters in the string (in that order). Any characters that are not letters should be ignored.

Answers

Answer:

def count_case(input): #create a function

 uppercase = 0 #declare variables

 lowercase = 0

 for x in input: #loop through user input looking at each letter

   if x.isupper(): #if letter is uppercase

     uppercase += 1 #increment the uppercase counter

   elif x.islower(): #otherwise if it is lowercase

     lowercase += 1 #increment the lowercase counter

 print(uppercase) #print uppercase count

 print(lowercase) #print lowercase count

string = input("enter string: ") #ask for user input

count_case(string) #run function

How to construct a speaking library presentation database. how will you use this library and database in the furture? based on what you have learned in this unit, why do you think it is important to have your own speaking library and presentation database? your essay should be 200-500 words in length... please help

Answers

To construct a speaking library presentation database, you should write what a speaking library is, the importance of speaking library in the present and future, and how to open a speaking library.

What is a speaking library?

A speaking library is a place where audiobooks are present, which can be listened by people.

The importance of a speaking library is blind people can also listen to them and people who cannot read.

Thus, to construct a speaking library presentation database, you should write what a speaking library is, the importance of speaking library in the present and future, and how to open a speaking library.

Learn more about speaking library

https://brainly.com/question/1348481

#SPJ1



If I want to make it look like slide number one is turning a page to slide number two, what
effect needs to be applied?

Answers

Answer:

Im not certain but I think thwir is one called flip

Explanation:

Kind of works like a book if thats what your asking for

Sum of Two Numbers: Write a program that stores the integers 50 and 100 in variables and stores the sum of these two in a variable named total. Display the total on the screen.

Answers

Answer:

fifty = 50 #variable to store 50

hundred = 100 #variable to store 100

total = fifty + hundred #add the two in a variable named total

print(total) #display on screen

when working with track changes, what is the difference between simple markup and all markup?

Answers

The single markup gives distraction free view to the document, while all markup gives the visible  inline changes in the document.

What is a markup in Microsoft word?

Markup in Microsoft Word or MS word is the review setting that tracks the changes and the comments in the word with every character.

The single markup is given as the distraction free view of the changes to the reader, with the recording of all the changes in the document. The all markup option will show the changes in the document with different lines and color thereby tracking changes.

Learn more about markup in word, here:

https://brainly.com/question/1419927

#SPJ1

30 points


felicity is on a field trip to the local zoo. she notices an old watchtower. the sun is directly behind this watchtower, drawing the attention towards the borders and outlying features of the watchtower. what effect is felicity observing?
felicity is observing the _____ effect.

Answers

Answer:

I belive it's the Contre-jour effect :))))

Explanation:

What are principles of an API test design?

Answers

Answer:

The five most important principles of an API test design are:

Setup: Create objects, start services, initialize data, etc

Execution: Steps to apply API or the scenario, including logging

Verification: Oracles to evaluate the result of the execution

Reporting: Pass, failed or blocked

Clean up: Pre-test state

____ can help you determine whether a network is truly under attack or a user has inadvertently installed an untested patch or custom program.

Answers

Answer:

Network forensics

Explanation:

hide the most valuable data at the innermost part of the network.

How is effective communication defined as it applies to media?
O The end user delivers the intended message.
O The end user receives the intended message.
O The end user records the intended message.
O The end user agrees with the intended message.

Answers

Answer:

B, if the person you're sending to doesn't get the point it isn't effective. The sender will always know what they're sending but if the person who gets doesn't understand then it doesn't work. They don't need to agree to it for them to understand the message.  

Explanation:

a student is going to e-mail a file she has created and needs to reduce the file size. what tool should she use to reduce the file size?

Answers

Answer:

Compress the file to reduce the file size.

What is a benefit of being a member of a professional organization?

Answers

Answer: A benifit of being a member of a proffesional organzation is you can refresh your knowledge by acquiring new skills through workshops, seminars, and conferences.

Explanation:

Answer quickly!!!

what type of structural semantics does html describe?

Answers

The type of structural semantics does html describe is known as paragraphs.

What type of structural semantics does HTML describe?

Semantic HTML  is known to be a semantic markup is HTML that  is composed of  or it is one that introduces meaning to the web page instead of just presentation. For example, a <p> tag indicates that the enclosed text is a paragraph.

Based on the above, The type of structural semantics does html describe is known as paragraphs.

Learn more about html from

https://brainly.com/question/13276343

#SPJ2

What kind of goal does ariel set when he works to graduate from high school in four years? short term long term normative fantasy

Answers

The type of goal that Ariel will set so that she can be able to works to graduate from high school is  one that has to be long term.

What are personal goals ?

These kind of goals are known to be things or items that a person is hoping on getting or achieving.

Therefore,  the type of goal that Ariel will set so that she can be able to works to graduate from high school is  one that has to be long term as it will be one that will last for a very long time.

Learn more about goals from

https://brainly.com/question/1512442

#SPJ4

Answer:

It is a long term project

Explanation:

Graduation high school well I mean it kinda gonna take a long time I mean 4 years I can't even count to 4!!

Maxie created a presentation about cats, and she would like her teacher to critique her. Which critique item will help her know if the audience could hear her well?

Group of answer choices

Are you speaking loud and clear?

Are you using facial expressions?

Are you focusing on your topic?

Are you speaking at a good pace?

Answers

Answer:

Are you speaking loud and clear?

Explanation:

If she is speaking loud and clear that probably mean they can hear her.

what is full form of RAM??? ​

Answers

Answer:

Random Access Memory, it's used to store working data and machine codes

Explanation:

Hope it helped !
Adriel

So I got the MSI GE76 Raider and I dont know if I should get a new better gaming laptop or not, is the GE76 good for gaming?

Answers

Answer:

yes it is

Explanation:

The MSI GE76 Raider is one of the best gaming laptops for those looking for a desktop replacement. It even brings excess amounts of RGB lighting courtesy of a full light bar under the wrist rest. Of course, that all comes at a cost.

A ____ is an outdated and inefficient networking device that accepted signals from a transmitting device and repeated those signals to all other connected devices in a broadcast fashion

Answers

Answer:

Hub

Explanation:

A hub is an inefficient old device that broadcasts a given message to all nodes connected to the interfaces on it. It has a high security risk.

Ross is running a small data entry back office, for which he has contracted you for network management. Ross has made it very clear that because he has just started the company he wants to cut down on expenses wherever he can. One such option involves the router-he wants to exchange the router with a similar but less expensive alternative. Which of the following will you refer to Ross in such a situation?
a. A layer 3 switch
b. An SDN controller
c. Storm control
d. A root port

Answers

The right option that I can refer to Ross in such a situation is called a  A layer 3 switch.

What is a layer 3 switch?

This is known to help make switch packets by looking at IP addresses and also MAC addresses.

Note that Layer 3 switches helps to separate ports into virtual LANs (VLANs) and carry out the routing between them and as such, The right option that I can refer to Ross in such a situation is called a  A layer 3 switch.

Learn more about  switch from

https://brainly.com/question/17245000

#SPJ4

Develop a command sequence would you use to alter the amount of space between the text in a text box and the text box border?.

Answers

The use of the Line and Paragraph Spacing command can  help one to alter the amount of space between the text in a text box and the text box border.

Which command changes line spacing?

When one click on Home tab, one should click the Line and Paragraph Spacing command, and when one has select the line spacing that one needs, the selected line spacing will alter in the document.

Note that the use of the Line and Paragraph Spacing command can  help one to alter the amount of space between the text in a text box and the text box border.

Learn more about command sequence from

https://brainly.com/question/13258375

#SPJ1

How do smartphone screens work?

Answers

Smartphones screens work Using electricity

Answer:

Touchscreens work using electricity. The screen is made of glass, an insulating material – it cannot carry an electric current.

Explanation:

____ management is designed to replace or change parts of the operating system that need to be enhanced or replaced. a.Patch b.Kernel c.OS d.VFS

Answers

Patch management is designed to replace or change parts of the operating system that need to be enhanced or replaced.

What is Patch management?

This is known to be the act or process of sharing and applying updates to different kinds of software.

Note that Patch management is designed to replace or change parts of the operating system that need to be enhanced or replaced.

Learn more about Patch management from

https://brainly.com/question/16270302

#SPJ4

Doctrine Creative is a video production company with its own file server within its business office. The company needs to be able to access the newest commercial it just finished editing, but the file is too large to send over the World Wide Web. Which type of network would the company be using if it gives the new clients access to its personal file server?


Internet


ftp


Intranet


Extranet

Answers

Answer:

answer is D

Explanation:

The network which the company uses if it gives the new clients access to its personal file server will be Extranet.

What is an extranet?

An intranet that allows authorized outside people to browse portions of it, allowing businesses to securely share information through the internet.

Doctrine Creative is a video production company with its own file server within its business office.

The company needs to be able to access the newest commercial it just finished editing, but the file is too large to send over the World Wide Web.

The network which the company uses if it gives the new clients access to its personal file server will be Extranet.

Thus, the correct option is D.

More about the extranet link is given below.

https://brainly.com/question/13263185

#SPJ1

What technology does kroger’s edge technology and amazon’s just walk out technology leverage?.

Answers

They leverage smart engineering from the best of the best people to make the company more humanly capable of extraordinary measures

Amazon's simply walk out technology and Kroger's edge technology both employ intelligent agent technology.

What is the intelligent agent?

The Intelligent agent is a software that may complete tasks or make judgments depending on its surroundings, input from users, and past experiences. These applications can be used to collect data automatically on a predetermined schedule or in response to human input in real time.

In general, intelligent software agents are computer programs that may be installed on a computer system or network and launched to carry out tasks in the background, frequently while the computer is busy with other tasks.

Therefore, it is an intelligent agent.

To learn more about the technology, refer to:

https://brainly.com/question/15059972

#SPJ2

What option would fit the most content on a page?

1)normal margins
2)wide margins
3)centered margins
4)narrow margins

Answers

Answer:

normal margins will fit the most content on a page

In order to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can help students obtain .

Answers

In order to receive financial aid at his vocational school, Mario must fill:

1. Financial and eligibility form.

2. Financial information.

3. Scholarships and grants.

What is financial aid ?

This is known to be funds or support through monetary terms that are give to student or for research purpose.

Therefore, based on the above, In order to receive financial aid at his vocational school, Mario must fill:

1. Financial and eligibility form.

2. Financial information.

3. Scholarships and grants are all correct.

Learn more about financial aid from

https://brainly.com/question/14173570

#SPJ4

Answer:

1. ✔ financial aid eligibility

2. ✔ financial information

3. ✔ scholarships and grants

Explanation:

Other Questions
Which image is the best choice for convincing high school students to plant a tree on earth day? a photo of a young boy and an adult planting a tree. an illustration of the planting process for planting an apple tree. a photo of a group of young people gardening. an illustration of a young boy and adult male planting a tree. 2+2 son pea los anuncios In one year, how much money would you have contributed to social security if your deduction were 10% of your $100 weekly wage? a.$52 b.$260 c.$520 d.$2600 What is the product? assume x greater-than-or-equal-to 0 (startroot 3 x endroot startroot 5 endroot) (startroot 15 x endroot 2 startroot 30 endroot) how did the early christians build there mosaics? Jacques is 13 years old. on monday, jacques announces to his parents that he wants to be called "jack." on wednesday, he says he wants to drop out of school. on friday, he says he wants to get a tattoo and become an architect. in erikson's terms, jacques is most likely experiencing the _____ crisis. BC = ??need help asap HelppppWhich choices are equivalent to the expression below (see the picture please) Paula has a client who wants to invest into an account that earns 4% interest, compounded annually. The client opens the account with an initial deposit of $4,000, and deposits an additional $4,000 into the account each year thereafter.Assuming no withdrawals or other deposits are made and that the interest rate is fixed, the balance of the account (rounded to the nearest dollar) after the eighth deposit is __________. what way was the Dust Bowl a perfect storm? What is the product of (x 3) and (x + 7)? The debit for a sales tax properly levied and paid on the purchase of machinery preferably would be a charge to What is a good estimate and the actual measurement for this angle measurement? A. 110 and 109 B. 95 and 96 C. 90 and 91 D. 70 and 71 The united states responded to the berlin blockade in 1948 by. What would the graph of f(x)=2arcsin (x-4)+1, look like? Write about how your school celebrated the African Union day Which set of transtormations results in two polygons that are similar but not congruent? which type of drosophila probably changed the least over time? Who did the "Lost Generation" refer to? how o can write a good introduction in essay with a thesis statement and a hook.