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.
 
        
             
        
        
        
Answer:
AI, Interests, and marketing 
Explanation:
Processing privacy policies is not a real function of a large data set. 
 
        
             
        
        
        
The type of attack that the hacker performed is Domain Name System (DNS) server cache poisoning.
<h3>What is DNS poisoning?</h3>
In Domain Name System (DNS) server cache poisoning, the hackers often enter into a DNS server because they want to make an adjustment to its directory so that it can point the domain name users enter to a wrong, IP address. 
Note that Domain Name Server (DNS) poisoning is a form of system attack in which there is the change of DNS records which are then used to redirect online traffic to a wrong website.
Learn more about hacker  from
brainly.com/question/24956493