1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
bazaltina [42]
3 years ago
13

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

Computers and Technology
1 answer:
vladimir1956 [14]3 years ago
3 0

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:

<u>Variables used: </u>

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.

You might be interested in
Eun-Joo is working on a circuit board. There is no electrical current flowing through a certain switch on the circuit board.
zhuklara [117]

Answer:

state 0

Explanation:

in binary 0 is off.

6 0
3 years ago
Read 2 more answers
What happens to a message when it is deleted?
olya-2409 [2.1K]

Answer:

it goes to the deleted items area

Explanation:

but it also depends on where you deleted it on

5 0
2 years ago
Read 2 more answers
(1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate varia
cricket20 [7]

Answer:

Following is given the required program. All the steps are described by comments. The sample output for the program is also attached.

I hope it will help you!

Explanation:

5 0
3 years ago
Where are my files shortcut in documents folder.
faust18 [17]

Answer: Search File Explorer: Open File Explorer from the taskbar or right-click on the Start menu, and choose File Explorer, then select a location from the left pane to search or browse. For example, select This PC to look in all devices and drives on your computer, or select Documents to look only for files stored there.

Explanation: hope this helps :)

4 0
2 years ago
People often delete or read email based upon the subject line alone select one:
erica [24]
The statement people often delete or read email based upon the subject line alone select one is TRUE. Based on the subject or topic of the email, they will judge if it is worthy to be read or deleted.
5 0
3 years ago
Read 2 more answers
Other questions:
  • Which string method counts the number of characters in a string?
    5·1 answer
  • Which partitioning method must you use for a 4-tb hard drive?
    13·1 answer
  • How to do pseudocode and flowchart in BMI ( computer programming ​
    11·1 answer
  • What was the ENIAC computer and how was it used/what for?
    9·1 answer
  • In Load/Store Architecture, memory is only referenced by load and store instructions.
    15·1 answer
  • Which CSS attribute would change an element's font color to blue
    15·2 answers
  • Cuales son las funcione basica de la computadora​
    9·1 answer
  • Hy plzz help me friends​
    5·2 answers
  • How do news organizations primarily create revenue?
    12·2 answers
  • What is command is used to improve the vocabulary and in which tab is it found​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!