How can I get multiple user inputs in Java ? I want to be able to use it for subtraction, addition,division and multiplication.For example it should run like
How many numbers do you want to subtract?
4
Enter 4 numbers:
1
2
3
4
result:-8

Answers

Answer 1
You can do something like this :

Scanner sc = new Scanner(System.in);
int[] nums = new int[4];

for(int i = 0; i < nums.length; i++) {
System.out.println("Enter next number: ");
nums[i] = sc.nextInt();

Related Questions

An IT infrastructure manager is reviewing his company's computer assets, particularly the mean time to failure (MTTF) of the PC and server hard drives. The manufacturer of the hard drives typically used in the company states that the MTTF is approximately 11 years. Because servers and some high-priority workstations must operate continuously except for brief periods of maintenance, how many hours, on average, can these hard drives be expected to operate before failure

Answers

The numbers of  hours, on average, can these hard drives be expected to operate before failure is 24 hours a day, also seven days a week and 365 days a year.

How many hours can Hard drive last?

The total life-time of a hard disk is said to be 5 years" that is about 43,800 hours of been in constant use.

Note that a key  reliability-linked criterion for the selection of storage components is based on its operating duty that is the numbers of  many hours in a day a drive can be active for.

A lot of HDDs used by Enterprise-class applications are said to be optimized for constant use that is 24 hours a day, seven days a week, and 365 days a year.

Note that a Managed Service Provider (MSP) have to plan for a failure in every 1000 hours that is about 42 days.

Learn more about hard drives from

https://brainly.com/question/1558359


Which part of the Word application window should the user go to for the following activities?:

Answers

Answer:

what are the activities

What is the purpose of memory address?​

Answers

Answer:

A memory address is a unique identifier used by a device or CPU for data tracking.

A memory address is a unique identifier used by a device or CPU for data tracking. This binary address is defined by an ordered and finite sequence allowing the CPU to track the location of each memory byte.



A memory address is an exact assigned location in RAM used to track where information is stored. On a single computer memory IC, there can be 1 million, 2 million, or more memory addresses that can be accessed at randomly, which is why memory is called RAM (random access memory).

13. In cell B16, use the SUMIF function and structured references to display the total wins for teams in the Youth league.

Answers

Using the SUMIF function and structured references to display the total wins for teams in the Youth league is gotten as; 65

How to make use of the SUMIF Function?

The SUMIF function in excel combines a condition and a sum of the values which meets the stated condition. That is; SUMIF(row_range, condition)

From the attached image we can see the number of times youth won the league in column D. Also, we can see the total number of youth wins in column H under Total.

Thus, using SUMIF function for the total number of wins, we have;

B6 = SUMIF(SwimTeams[League], "youth",H3:H12

B6 = 21 + 16 + 12 + 9 + 7

B6 = 65

Read more about the SUMIF Function at; https://brainly.com/question/19595606

When you are hired to develop a system for an organization. Is it important to follow all the requests/wants of the system owner rather than of the system user?

Answers

If you are hired to develop a system, note that Is it vital to follow all the requests or needs of the system's owner.

The company knows what they want and it is good you do comply with their directives. You can only give your suggestions if need be.

Who can develop an information system?

The information systems field is one that is made up of people in organizations that are skilled and can design and build information system.

Note that to be  hired to develop a system, one has to follow all the requests/wants of the system owner instead of the system user as the one who needs it knows what he or she wants so you have to comply with it. You can only give your suggestions.

Learn more about system from

https://brainly.com/question/13603602

This is an example of what type of formula? =AVERAGE(D1:D17) A. ADDITION
B.SUBTRACTION C.RANGE D.AVERAGE

Answers

Answer:

d average

Explanation:

average as it already shows it says average

In C, What is the #line used for?

Answers

The #line is mainly used to reset the line number and also the filename in the code.

What does a line in C mean?

The c in code is written in lower-case. The c that has a line over it means "with".

The C preprocessor is known to be macro processor that is often used often by the C compiler to change one's program before actual compilation. This   #line means that one can do any reset any line of code to an arbitrary line number or a filename that is said to have been stated by the user.

Learn more about code from

https://brainly.com/question/25605883

Complete the sentence.
For self-driving cars, both the programmers of the software and governments who regulate them must adhere to
intellectual property laws
ethical principles
noncompete agreements
- to safeguard that the software that controls the car is capable of making life-or-death

Answers

Answer:

[ C ]  governments who regulate the car industry

[ D ]  the programmers who create the software that control the car

Proof:

Governments who regulate the car industry, the programmers who create the software that control the car are the complete sentence.

What is car industry?

Car industry is the place where the manufacturing of the cars and automobile parts are placed. Car industry  do manufacturing work for the selling purpose. The company may be directly or indirectly engage in the selling industry.

Thus, sentences are completed.

For more details about car industry, click here:

https://brainly.com/question/1139792

#SPJ2

True or false: the HTTPs means that the information on a website has been fact-checked
True
False

Answers

Answer:

False

Explanation:

answer quickly!!!!! please answer as soon as you see this!
Which feature of a database displays data in a certain sequence, such as alphabetical order?

Chart
Filter
Search
Sort

Answers

Sort is the answer to this

when doing a complex presentation which of the fallowing will be the best tool to begin designing your presentation

Answers

Answer:

Explanation:

The options are:

a) Open Office Writer

b) Open Office Impress

c) an outline

d) photographs

The most commonly used presentation software is Microsoft PowerPoint but it is not always available; as is the case here. Of the options, Open Office Impress is the closest in its functions to PowerPoint and is a good tool to design a complex presentation.

Given three floating-point numbers x, y, and z, output x to the power of y, x to the power of (y to the power of z), the absolute value of x, and the square root of (x * y to the power of z). Output all results with five digits after the decimal point, which can be achieved as follows: Put result to output with 5 decimal places Ex: If the input is: 5.0 2.5 1.5 the output is: 55.90170 579.32402 5.00000 6.64787

Answers

Answer:

i feel that python is the best language

Explanation:

You ran your email by a few colleagues, and they think it is perfect for your audience – professional, technical, and informative. Your email is ready to send out, so you schedule it for 8AM the next day to reach customers’ inboxes as they start their day. How should you include the email addresses?

Answers

You should include in the email addresses by CC all recipients.

What does it mean to CC recipients?

The CC abbreviation is a term that stands for “carbon copy.”

The CC recipients is known to get or receive also the same copy of the email and any kinds of other “Reply All” responses that one can see in the thread. Note that all recipients of the email will also see who has been given the CC' message.

See options below

-CC all recipients.

-BCC all recipients

Learn more about email from

https://brainly.com/question/14236855

Discussion 5
Kris Allen runs a pet daycare center. She needs to keep track of contact information for her customers, their animals, the services provided (such as walking and grooming), and the staff who are assigned to care for them. She also must send out invoices for payment each month. What features of spreadsheets and/or database software might she use to facilitate her business?

Answers

The features of spreadsheets and/or database software that she can use to facilitate her business are;

Rows and columns in spreadsheet's can make her information to be neatly organized.The use of Formulas and functions. Data filtering Accounting.Analytics, etc.

Why does business use database software?

Businesses can known to use database software to make a good and well manage data output. They also use it to work with their data.

Note that in almost all kinds of businesses, there is the use database software just to keep a track of contacts, addresses, payrolls and other  kind of functions to is linked to business and customers.

Learn more about database software  from

https://brainly.com/question/1022352

Similarities in off-site and On-site

Answers

Answer:

Off prevents the page from finding your easy search terms; basically what you search for, while On page will help you improve the quality of your newly designed web page.

▬▬▬Casual Terms▬▬▬

Off page means that you are not actively viewing a page; unlike On, it would mean the exact opposite.

▬▬▬Conclusion▬▬▬

I Hope you have a great day!

Answer:

onsite is on or at a site while offsite is away from a mail location in a place not owned by a particular organization.

Why do you want to work for Rev?

Answers

People do have reasons why they want to work for a particular company. It may be due to what they company stands for, what they make or about your dream.

I can therefore say that I want to work for Rev because they are revolutionizing the industry and I want to be part of the change process.

How do you answer why do you want to work?

Note that when looking for a job, job experience do matter. When ask the reason for looking for this job.

One can answer that they have the experience or the needed expertise and skills required for this job as they want to be aligned with what the company stands for.

Learn more about work  from

https://brainly.com/question/25573309

Thirty percent of a magazine's subscribers are female. A random sample of 50 subscribers Answer the following questions using Excel: (using standart devision of 0.0648)
a. What is the probability that the proportion of females from this sample is at most 0.25
b. What is the probability that the proportion of females from this sample is between 0.22 and 0.28
c. What is the probability that the proportion of females from this sample is within 0.03 of the population proportion?

Answers

Based on the mean of the subscribers, the sample size, and the standard deviation, the probability of females being at most 0.25 is 0.2202.

The probability that they are between 0.22 and 0.28 is 0.2703.

The probability that they are within 0.03 of the population proportion is 0.3566.

What is the probability that they are at most 0.25?

Using Excel, we shall assume that the distribution is normally distributed.

We can therefore use the NORM.DIST function:


=NORM.DIST(0.25,0.3,0.0648,TRUE)

= 0.2202

What is the probability that they are between 0.22 and 0.28?

=NORM.DIST(0.28,0.3,0.0648,TRUE) - NORM.DIST(0.22,0.3,0.0648,TRUE)

= 0.2703

What is the probability that they are within 0.03 of the population proportion?

X high = 0.30 + 0.03

= 0.33

X low = 0.30 - 0.03

= 0.27

= NORM.DIST(0.33,0.3,0.0648,TRUE) - NORM.DIST(0.27,0.3,0.0648,TRUE)

= 0.3566.

Find out more on probability at https://brainly.com/question/1846009.

Write the pseudocode for the following scenario. The final exam marks for 10 students are 65, 45, 78, 65, 89, 65, 79, 67, 75, and 63. The marks are stored in an array. Find: • The student with the highest mark. • The student with the lowest mark. • The total marks for all the students. • The overall average.

Answers

The pseudocode of the program serves as a prototype of the program

How to determine the pseudocode?

The pseudocode of the program is as follows:

StartDeclare array MARKSInput MARKS[0] to MARKS[9]Sort MARKSPrint MARKS[9] ----- this prints the highest markPrint MARKS[0] ----- this prints the least markFOR I = 0 TO 9; ADD MARK[I] TO TOTALPrint TOTALPrint TOTAL/10Stop

The above pseudocode gets input for the array; then sorts the array before performing the required operations

Read more about pseudocodes at:

https://brainly.com/question/24735155

Take any software or Application that you have recently purchased, this can be a video game or any other application helping you to complete you educational objectives or professional purposes. Go through about the copyright, license policies [you will find this information on the leaflet or on the packaging] and answer the following questions]
Can you make copies? What does the license agreement say about the number of copies you can make? Explain in detail [ 2Marks]
Does it specify penalties for making unauthorized copies if yes give the brief detail on that?
[1 Mark]
Do you consider the license agreement to be clearly stated? Reasonable? Explain with two reasons. [ 2 Marks]

Answers

A good product should have copyright protection which prevents others from using the product without permission.

Some products specify the penalties which are given to a person who makes unauthorized copies of their product and this is done to clearly educate to avoid ignorance claims.

A good product should have clear lettering which are legible and can be easily read, and should also have reasonable copyright protection.

What is Copyright?

This refers to the licensing which is done for a product and is also legally backed which prevents a person from illegally using or redistributing the work of a creator without their explicit consent.

Read more about copyright infringement here:
https://brainly.com/question/1078532

IM a bit confused on what this is asking for exactly.

Answers

Answer:

im not sure can you ask someone for help

Explanation:

Draw a rectangle, give its perimeter and Area
Ask the user for a length and width of a rectangle.
Draw the rectangle
find and show the perimeter
find and show the Area

Answers

I am assuming this is in python, so I will use comments to explain each step

l=int(input('What is the length of the rectangle')

w=int(input('What is the width of the rectangle')

#here use whatever graphics code required to draw the rectangle

#will probably be similar to rect=Rectangle(l,w)

print('Perimeter is' +(2*l+2*w))

print('Area is' +(l*w))

1. My grandma and I went shopping to look for old
clocks. She loves to decorate her house with rare
items. My grandma will spend days finding things
that no one else has. She tries to find items that
not many people have ever seen before.
What does the word rare mean as it is used in the
passage?
a. kind
b. usual
C.
c. common
d. uncommon

Answers

Answer:

uncommon

Explanation:

it's not common or usual because no one else finds the things

it's not kind because inanimate objects don't show feelings

You work as an assistant in your school’s computer lab. A student asks you to help her install a program on her laptop using an installation disc she borrowed from a friend. You read the EULA and notice that it provides only a single-user license. What are the ethical and legal issues surrounding using a single-user license on more than one computer? What should you do?

Answers

The ethical and legal issues surrounding using a single-user license on more than one computer is that if caught, it can lead to termination of the software package that you are in.

The ethical implication is that one cannot be trusted, our integrity has have brought down to zero. The right thing to do is to explain to the student and if you can, get her another software.

What is single user License agreement?

Single User License is a term that connote that there shall be only one person to use, receive and access a product or software  and it cannot be shared with other individuals.

In Single user, the software is said to be licensed for a single user and not for Multi-user.

Learn more about User License  from

https://brainly.com/question/13502276

how do you create 2 dimensional array with c++?

Answers

2 dimensional arrays in C++ are arrays that have 2 dimensions i.e. rows and columns

How to create the array?

To create a 2-dimensional array in C++, you make use of the following syntax

data_type array_name[rows][columns];

Assume the following parameters:

The data type of the array is integerThe array name is StudentsThe array has 10 rows and 20 columns.

The declaration of an array with the above properties would be:

int Students[10][20];

Read more about arrays at:

https://brainly.com/question/22364342

5. How would you reorder the animation on a slide using the Animation
Pane?

Answers

Answer:

undo button

Explanation:

I hope this helps

state the name of the following computer components​

Answers

Answer:

Memory.

Hard Drive or Solid State Drive.

Video card.

Motherboard.

Processor.

Power Supply.

Monitor.

Keyboard and Mouse.

Explanation:

Memory
Hard Drive or Solid State Drive
Video card
Motherboard
Processor
Power Supply
Monitor
Keyboard and Mouse
Optical Drive DVD/RW
Ethernet or Wireless card


Central Processing Unit (Cpu)
Random Access Memory (Ram)
Motherboard
Solid State Drive (Ssd)
Three
Games User Interface
Floppy Drive
Conclusion
The Motherboard
Usb Ports
Hardware And Software
Disk Drive
Optical Disk Storage
Scsi
Laser Printer
Processing Devices
Keyboard And Mouse
Lcd
Internal
External
Stylus
Code
Non Volatile Memory
Utility Software

Dalton completed a research project with Word Online. He would like to print and show it to a family member. Which ribbon tab does Dalton need to select to print a document with Word Online a review b file c home d view

Answers

The ribbon tab that Dalton needs to select to print a document with Word Online is: B. file.

What is Word Online?

Word Online can be defined as a word processing software application that is designed and developed by Microsoft Inc., so as to enable its end users type, format and save text-based documents over the internet.

Generally, the print command is located in the file section of the ribbon tab in Word Online and as such Dalton needs to select it from there.

Read more on Word Online here: https://brainly.com/question/18272535

Suppose that you have a computer with a memory unit of 24 bits per word. In this
computer, the assembly program’s instruction set consists of 198 different operations.
All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.
1. How many bits are needed for the opcode?
2. How many bits are left for the address part of the instruction?
3. How many additional instructions could be added to this instruction set without
exceeding the assigned number of bits? Discuss and show your calculations.
4. What is the largest unsigned binary number that the address can hold?

Answers

Answer:

a )   The amount of bits required for the opcode

 8 bits

2^8=  256        

 256>198

 We get the next lower number, which is 2^7 = 128 bits, because it is greater than 198. As a result, the operation code necessitates 8 bits.

b)   The number of bits reserved for the instruction's address.

 16 bits

 24-8  =  16

c)  

 65536

2^16  =  65536

 Maximum number =  65535

  2^15 = 32768-1

 =  32767

Explanation:

You're a consultant for a large enterprise that needs a comprehensive IP addressing and DNS management solution for its physical and virtual networks. The enterprise has a primary office in Pittsburgh and three branch offices in Los Angeles, New York, and Miami. It has IT support staff only in the branch offices.The enterprise's server specialists are located in Pittsburgh. The IT directory in Pittsburgh wants to offload some of the IPAM management functions to some of the IT staff without giving them broader domain or forest administrative right. Which type of IPAM architecture do you recommend? Which features of IPAM are you likely to recommend using to address the requirements?

Answers

The type of IPAM architecture that I will recommend is the Centralized IPAM. The centralized IPAM server when deploy can help to address the issue.

What is IPAM?

IPAM (IP Address Management) is known to be a kind of administration of DNS and DHCP. This is known to be a network services that helps and handles IP addresses to machines in a TCP/IP network.

The Centralized Repository can help administrators to maintain or keep a good, correct and current records of all their IP assignments and left over addresses.

Learn more about IPAM from

https://brainly.com/question/24930846

A person can only give blood to someone with compatible blood antigens. If a person receives blood from someone with an incompatible blood type, it can cause a life threatening immune system reaction. The blood transfusion will likely fail.
Your program should ask a user’s blood type first, then if she/he want to learn about giving or receiving blood. Based on the blood type and choice of give or receive, your program will print the corresponding compatible blood types.
NOTE, if the blood type or give/receive choice entered doesn’t exist, the program should promote the user to re-enter it again.

Answers

The antibodies will see the blood donor as foreign and attack the donated blood

Other Questions
what did the transportation company proposed to UNESCO to help with their visitor management system? Define nondisjunction. Is this a beneficial process? Explain. In VWX, x = 110 inches, v = 700 inches and W=9. Find X, to the nearest degree. What Germanic tribes from Denmark and northern Germany settled in Britain after the departure of the Romans in the 5th century. Stage theories and continuity theories of development can be used together to adequately assess changes in growth that occur throughout life. please select the best answer from the choices provided t f What characters were introduced chapters 1-5 in to kill a mockingbird What is the area Of the desk I am walking more slowly than I used to since I sprained my ankle. third time posting this question pls help. it's 7 grade maths.pls help i need it I give brainlist (This is for PoliSci) How is totalitarianism different from other forms of nondemocratic rule? A kite is inscribed in a square with a side length of 9 units. What is the area of the kite? 27. 5 square units 36. 0 square units 40. 5 square units 45. 0 square units. So basically how do i ask my best friend out? An art song is a musical composition for what performing forces?. Write an equation (a) in slope-intercept form and (b) in standard form for the line passing through (1,8) and perpendicular to 3x + 5y = 1 HAPPY BIRTHDAY!You have decided to give your best friend a bag of redand green marbles for his birthday. Your friend likesgreen marbles better than red ones, so the bag hastwice as many green marbles as red. The label on thebag says it contains a total of 84 marbles.How many green marbles are in the bag? Write asystem of equations for this problem. Then solve theproblem using any method you like. Be sure to checkyour solution =O FRACTIONSFraction multiplicationMultiply. Write your answer as a fraction in simplest form.3 64 5OL? Explain the "triage" of information in deciding what is IMPORTANT for a speech: Select the correct text in the passage.Which excerpt represents the call-and-response format derived from jazz music?Deferredby Langston Hughes (excerpt)Maybe now I can have that white enamel stoveI dreamed about when we first fell in loveeighteen years ago.But you know,rooming and everythingthen kids,cold-water flat and all that.But now my daughters marriedAnd my boy's most grown--quit school to work--and where we're movingthere ain't no stove--Maybe I can buy that white enamel stove! Islandby Langston Hughes (excerpt)Black and white,Gold and brown--Chocolate-custardPie of a town. Dream within a dream,Our dream deferred. Good morning, daddy!Ain't you heard?Harlemby Langston Huges (excerpt)Does it dry uplike a raisin in the sun?Or fester like a soreAnd then run?Does it stink like rotten meat?Or crust and sugar overlike a syrupy sweet? parts of an algebraic expression separated by plus or minus signs are The following list gives the number of pets for each of 14 students.2, 0, 2, 4, 4, 4, 3, 2, 3, 4, 1, 3, 3, 2Find the modes of this data set.If there is more than one mode, write them separated by commas.If there is no mode, click on "No mode."