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:
The answer is Bootsrap
Explanation:
A bootstrap program which is also referred to as a bootstrap loader is a program that resides in the computer’s Read Only Memory. It starts the whole chain reaction and ends up with the entire OS being loaded. This program reads the computer’s hard drive boot sector and continues with the process of loading the Operating System. It first performs a POST test and then proceeds to load the OS intothe main memory.
 
        
             
        
        
        
Answer:
If all the character pairs match after processing both strings, one string in stack and the other in queue, then this means one string is the reverse of the other.                             
Explanation:
Lets take an example of two strings abc and cba which are reverse of each  other.
string1 = abc 
string2 = cba
Now push the characters of string1 in stack. Stack is a LIFO (last in first out) data structure which means the character pushed in the last in stack is popped first. 
Push abc each character on a stack in the following order.
c
b
a
Now add each character of string2 in queue. Queue is a FIFO (first in first out) data structure which means the character inserted first is removed first.
Insert cba each character on a stack in the following order.
a   b   c 
First c is added to queue then b and then a.
Now lets pop one character from the stack and remove one character from queue and compare each pair of characters of both the strings to each other.
First from stack c is popped as per LIFO and c is removed from queue as per FIFO. Then these two characters are compared. They both match 
c=c. Next b is popped from stack and b is removed from queue and these characters match too. At the end a is popped from the stack and a is removed from queue and they both are compared. They too match which shows that string1 and string2 which are reverse of each other are matched. 
 
        
             
        
        
        
Answer:
An alert appears on the other devices
Explanation:
On social media platforms, whenever some one make a post, all the person who are using that social media app and present in the friend circle of that particular person receive an alert containing the information of the post.
The alert that received by different users on a social media platform is known as Notification. This notification is a type of text, in which the activity performed by post creator is mentioned, this text is received with the tone called notification tone. 
The purpose of the alert is to informs the friends who are using that social media platform that a post has been published by someone.  
 
        
             
        
        
        
Hire more people to help type her documents, or make Batch invoices