wap in java to complete the following (16*1) +(14*2) +(12*3) +(10*4) +(8*5) +(6*6) +(4*7)​

Answers

Answer 1

Answer:

It goes like:

public class Program

{

public static void main(String[] args)

{

int j=18;

int sum=0;

for (int i =1; i<7; i++)

{

sum=sum+(i*(j-2));

j=j-2;

}

System.out.println(sum);

}

}

Explanation:

Variables used:

j : controls the first number in product and decreases by 2 each time the loop runs.

sum: saves the values of addition as the loop runs.


Related Questions

identify the tools on the boxes. write the answer

Answers

Answer:

im going off of what i know =( 2 screw driver 3 zip ties 5 needle nose plyers 8 can air

Explanation:

What is the output for the following program?

numA = 10
while numA < 21:
numA = numA + 5
print(numA)

Answers

Answer:

Output:

15

20

25

Explanation:

In first iteration value of num is 10. Condition is checked 10 is less than 21 so value of num is incremented by 5 and value 15 is printed than again condition is checked 15<21 so value of num is incremented again and 20 is printed. Again condition is checked 20<21. So 25 is printed. Then 4th time when condition is checked vakue of num is 25 and while loop condition becomes false because 25 is not less than 21 and program is terminated here.

Answer: 15,20,25

Explanation: got it right on edgen

How do science, mathematics, and technology each influence engineering

Answers

Answer:

In order to start engineering you must know the basics Science, Math, and Technology. For example you need math to get all the parts in the right place and fix any pieces that need to be angled right, science because you need to know what happens if you put this with that if it’ll spark break or anything, and technology because you need to know the different pieces and their purpose, hope it helps!

Explanation:

Answer:

Math: By using numbers and some problems are really hard and they like solving them makes some kids want to do engineering

Science: By do expirments and getting kids excited about doing something like engineering

Technolgy: I think this speaks for itself by saying that if you like computers and dealing with technogly you would want to do engineering

Explanation:

A website for a certain political party or candidate is likely to have unbiased
information. Choose the answer.

True

False

Answers

False I believe probably false

Answer:the answer is false i had the same question in my test and i put false i got it right

Explanation:

Please help, thanks! (simple question) I'm doing a project and need to ask two people what they think is the highest contributor to global warming. my phone is dead. What do you think is one of the greatest contributors to global warming? I have to make an app about the two things.

Answers

What I think the highest is carbon dioxide . Because we use a lot of CO2 in every single day . So image that for 365 . We use a lot of carbon dioxide . In which that is ruining our earth

Please help! I tried this by myself. But I am not sure if this is right.

Answers

Answer:

Yes this is correct

Explanation:

btw trust yourself, believe in yourself because you can do it. I believe in you ;)

Answer:

This is correct

14. The term used to describe an attribute that can function like a primary key is a?​

Answers

Answer:

The answer to this question is given below in this explanation section.

Explanation:

In the relationship model of database  a primary key is a specific choice of a minimal set of attributes that uniquely specific a tuple in a relation.Informally  a primary key is which attribute and in simple cases are simple a single attribute.More  formally a primary key is a choice of candidate key any other candidate key is an alternate key.

A primary key may consists of real word observable in which way it is called natural key,while an attribute created to function as a key and not use for identification outside the database is called a surrogate key.For example for a database of people time and location of birth could be a natural key.National identification number is another example of an attribute that may be used as an natural key.

Learning task 1: introduction A.Direction:below are jumbled letters. Write the correct spelling opposite of the scramble letters. 1.GNISSRED 2.MMONEL UIJEC 3.ISENNOAYMA 4.MULEISIFRE 5.TERIRESHSECROW

Answers

Answer:

Following are the solution to this question:

Explanation:

For point 1: DRESSING

For point 2:  LEMON JUICE

For point 3: MAYONNAISE

For point 4: EMULSIFIER

For point 5: WORCESTERSHIRE

How do I find where I have used Premium Feature in CANVA
I am a free user

Answers

Answer: Ok go to the website (Canva) and you will see they have plan like there is one that is free, and there is one that is name pro but you have to pay $12.95 and the last one is Enterprise which cost $30.00

Hope this help :)

Explanation:

what are the condition of machines or equipment if the parts of the equipment are easy to assemble and disassemble​

Answers

Answer:

 

Explanation:

i dont now

hellllllllllp i need hlel dad

Answers

miss girl whatttttttttt

E-mail is a special form of business communication.
is the set of rules that governs communication using e-mail.

Answers

Answer:

 Your answer would be 'Netiquette ' .

Hope this helped you out :D

Each pixel includes 3 colors; Red, Green and Blue. Each color uses 8 bits to store it's intensity. How many Bytes are needed for each pixel

Answers

Answer: 3 bytes

Explanation:

A Pixel uses 3 colors and each of these colors uses 8 bits to store their intensity.

One pixel will therefore have:

= 8 * 3

= 24 bits

1 byte = 8 bits

24 bits will therefore be:

= 24/8

= 3 bytes

Answer:

3 bytes...I think

Explanation:

Choose the type of error described.
______ occurs when the result is wrong because of the programmer's mistake, such as multiplying two numbers when they should have been added
______ occurs when you use the wrong punctuation, such as print 'hello' without parentheses
______ occurs when the program starts running, but encounters an error such as trying to divide by zero

A. runtime
B. logical
C. syntax

Answers

Answer:

first scenario: B

second scenario: C

third scenario: A

hope this helps! :-)

Answer:

1.logical occurs when result is wrong

2.syntax occurs when the wrong punctuation is use

3.runtime occurs when program starts running

Explanation:

You wrote a program to compare the portion of drivers who were on the phone. Which statements are true? Select 4 options. A different set of observations might result in a larger portion of male drivers being on the phone. Your program compared an equal number of male and female drivers. It is important to test your program with a small enough set of data that you can know what the result should be. Even when confident that the mathematical calculations are correct, you still need to be careful about how you interpret the results. You could modify the program to allow the user to enter the data.

Answers

Answer:

1,3,4,5 (It's not the one that starts with your program)

Explanation:

Edge 2020

A driver is essentially a piece of software that enables communication between an operating system and a device. Consider the scenario where a device needs to read some data from an application.

What program to compare the portion of drivers?

Type “device management” into the taskbar's search box, then click on Device Manager. To see the names of the devices, choose a category, then right-click (or press and hold) the item you want to update. Decide Automatically check for driver software updates.

A computer software known as a driver, sometimes known as a device driver, that serves as a bridge between the operating system and a device such a disk drive, video card, printer, or keyboard.

Therefore, The device's collection of specific commands must be thoroughly understood by the driver.

Learn more about program here:

https://brainly.com/question/3224396

#SPJ2

you are considering cloud services, and you concerned about the interaction of your security policies and those of the hosting provider. What can alleviate your concern

Answers

Answer:

Cloud access security brokers

Explanation:

Cloud access security brokers (CASBs) can alleviate your concern. This is a software that is between cloud service users and cloud applications. Monitoring every activity and ensuring security protocols.

It does the work of merging the security policies of users and that of the providers. Across cloud platforms, the CASB can help to identify unsanctioned use.

An analyst determines the value of investments

True

False

Answers

The correct answer is True

Answer:

It is true

Explanation:

What is the name of the protocol used with IPv6 to learn the Layer 2 addresses that exist on the same local network

Answers

Answer:

Network Discovery Protocol (NDP)

Explanation:

An IP address is an acronym for internet protocol address and it can be defined as a unique number assigned to a computer or other network devices, so as to differentiate each device from one another in an active network system. Thus, an IP address is typically used to uniquely identify each computer or network devices connected to the internet or network.

In Computer networking, IP address are classified into two (2) main categories and these are;

1. Local (internal) IP address.

2. Global (external) IP address.

Also, the internet protocol (IP) address comprises of two (2) versions and these are;

I. Internet protocol version 4 (IPv4): this is the first and original version of the internet protocol which was introduced in 1983 using the Advanced Research Projects Agency Network (ARPANET). An example of an IPv4 address is 192.168.1.0.

II. Internet protocol version 6 (IPv6): it is the modified (latest) version of the IPv4 address system and as such can accommodate more addresses or nodes. An example of an IPv6 is 2001:db8:1234:1:0:567:8:1.

Hence, Internet protocol version 6 (IPv6) was developed and introduced to replace the previous version (IPv4); Internet protocol version 4. The best statement which describes a benefit of IPv6 over IPv4 is that, Internet protocol version 6 (IPv6) eliminates the use of hierarchy in addressing, making addresses easier to use because the size of the routing table is smaller (reduced) and as such making routing with IPv6 to be more efficient.

Hence, Network Discovery Protocol (NDP) is the name of the protocol used with IPv6 to learn the Layer 2 addresses that exist on the same local network.

6 → What is the difference between SHA-256 and SHA-512?

Answers

Explanation:

SHA-2: A group of two related hash functions, identified as SHA-256 and SHA-512.

The word size varies; SHA-256 uses 32-byte characters, whereas 64-byte words are used by SHA-512.

50 POINTS!!!!!!!!!!!

Give at least two examples of how the transport layer is used.

Answers

Answer:

The transport layer is responsible for delivering data to the appropriate application process on the host computers. Some transport layer protocols, for example TCP, but not UDP, support virtual circuits, i.e. provide connection-oriented communication over an underlying packet-oriented datagram network.

Explanation:

Some transport layer protocols, for example TCP, but not UDP, support virtual circuits, i.e. provide connection-oriented communication over an underlying packet-oriented datagram network.

Answer:

1. The transport layer is responsible for delivering data to the appropriate application process on the host computers. and 2. Some transport layer protocols, for example TCP, but not UDP, support virtual circuits, i.e. provide connection-oriented communication over an underlying packet-oriented datagram network.

-CC

12) --- In-Excel, Columns-are-labelled as
a) +A, B, C, etc
b)+1,2,3.etc
C-A1, A2, etc. 1
d)+ $A$1, $A$2. etc. I​

Answers

Answer:

C-A1, A2, etc.

WILL GIVE BRAINLIEST!!!!!!!!!
The Port of New Orleans is not considered an intermodal port.


True

False

Answers

Answer:

True

Explanation:

I need help building a computer what are some good parts?

Answers

Answer:

glass for the screen, wires to connect everything, something for the buttons, you also might need a screen protector so it can help your eyes because the screen will be bright, use something that will help the computer not fall off the desk, you also need to make some space at the bottom of the computer for the sound to go through, you need to make some more space at the either side you want the charger for it to always have power so you can always use it, and memory space, if you want to you can add a little space at the side for your earbuds.

Explanation:

you need to have your parents help you so you don't get hurt.

Analyze the difference between security settings and privacy settings.

Answers

Answer:

Explanation:

Security settings controls people getting through and into your devices. It is more of a protection while privacy is just more of who and what can be viewed.

Question 11
1 pts
You need to find the square root of a value. Which of the following functions would you
use?
int
fabs
pow
O sqrt

Answers

Answer:

sqrt

Explanation:

Computing is the process of using computer hardware and software to manage, process and transmit data in order to complete a goal-oriented task. It can be classified into the following categories;

If you need to find the square root of a value. The function you would use is sqrt.

In Computer programming, the sqrt () function is a mathematical tool which allows a user to find the square root value of any numerical value (numbers)

For example the code for finding the square root of a value using Python programming language is;

num = 36

\\This is the value of the original number\\

sqrt = num ** (0.5)

print ("The square root of the number "36" is 6")

Answer:

sqrt

Explanation:

i'm in python

Helpppppppppppppppppppp

Answers

THE ANSWER IS B MOST DEFINITELY

name tow ways to render a program as a single file

Answers

Answer:

*two

Explanation: and im not sure but have a great day and good luck on whatever you are doing!

Have any of you guys had to deal with not seeing profile pictures or not being able to open PDFs on this website? Is it just me or an overall glitch of the Brainly system?

Answers

Me too man me too yeah

Steven has listed printers, monitors, plotters, and copy machines at his place of work. Now he is reading manuals. Steven is creating a _____.


Web page

database

maintenance schedule

word-processing document

Answers

Answer: Web page

Explanation:

A web page can be defined as a document that is written in an HTML format. This can be viewed using an internet browser. It can be accessed by using the URL address in the address bar. The printers, monitors, copy machines and other necessary machines can be required for creation of web page. The printers are required to get the soft copy of the web page so that a proof reading can be done on the content of the web page, copy machines are used to scan the necessary pictures or text to be pasted on the web page, monitors are used to observe the development of the web page. Plotters are used for printing the graphs that can be scanned for web page.

assignment 1: silly sentences edhesive

Answers

Answer:

print("Let's play Silly Sentences!")

print(" ")

name=input("Enter a name: ")

adj1=input("Enter an adjective: ")

adj2=input("Enter an adjective: ")

adv=input("Enter an adverb: ")

fd1=input("Enter a food: ")

fd2=input("Enter another food: ")

noun=input("Enter a noun: ")

place=input("Enter a place: ")

verb=input("Enter a verb: ")

print(" ")

print(name + " was planning a dream vacation to " + place + ".")

print(name + " was especially looking forward to trying the local \ncuisine, including " + adj1 + " " + fd1 + " and " + fd2 + ".")

print(" ")

print(name + " will have to practice the language " + adv + " to \nmake it easier to " + verb + " with people.")

print(" ")

print(name + " has a long list of sights to see, including the\n" + noun + " museum and the " + adj2 + " park.")

Explanation:

Got it right. Might be a longer version, but it worked for me.

Other Questions
Given two magnets, in which position will they attract? In which position will they repel? I will give Brainliest to who can answer this asap!What role did Christianity play in the great trading centers of east Africa? Can someone help me please What's an excuse if you miss a class Please read the statement below and select how often the statement is true for you. I feel bad when someone's feelings get hurt. A.All of the time B.Most of the time C.Some of the timeD.Never Why do scientists use scale to study the solar system? * hello, pls help me. If the astronaut in the video wanted to move upward, in which direction should he throw the object? Why?1.He should throw the object upward because according to Newtons third law, the object will then exert a force on him in the same direction (i.e., upward).2.He should throw the object upward because according to Newtons third law, the object will then exert a force on him in the opposite direction (i.e., downward).3.He should throw the object downward because according to Newtons third law, the object will then exert a force on him in the opposite direction (i.e., upward).4.He should throw the object downward because according to Newtons third law, the object will then exert a force on him in the same direction (i.e., downward). Select the correct answer! You will get 15 POINTS!! to solve the problem. A Jar contains n nickels and d dimes. There are 22 coins in the jar, and the total value of the coins is $1.40. How many nickels and how many dimes are in the jar? I POSTED A QUESTION ON ELA FOR 30 POINTS CAN SOMEONE PLEASE ANSWER IT!!! I POSTED THE SAME QUESTION FOR 50 POINTS RIGHT BEFORE IT TY I NEED HELP ASAP Is 3/7 closet to 0, 1/2 or 1 guys this isn't hard please answer i need a good grade or im not gonna be able to play soccer What is the symbolic meaning of Max's dinner being on the table in his room upon his return?Story: Where the wild things areThis a short answer question can i get sum help ........................ Find anequivalent ratio in simplest terms:100 : 75 Complete the steps for saving a presentation as a poi file,Click on the File tab.Next, click onIn the drop doORClick on the FCopy & PrintNext, click onLast, clickSendSave As What do South America's busiest populated areas have in common? There's a 4 Sample of skeletal Mucsles, What is it?.. Helppp!!!Now, using the correct mRNA strand from above, give me the Anti-Codonfor the First Codon set.UAU CGC UAU UAU